Commit Graph

14 Commits

Author SHA1 Message Date
ismailgulek 2cb6dc1cd9 Screenshot tests (#130)
* #9 Add snapshot testing library

* #9 Create script to boot test simulators

* #9 Create the UI test plan

* #9 Create shared schemes for test targets

* #9 Disable split view for UI tests

* #9 Fix fastlane dependencies

* #9 Add snapshot testing to the application

* #9 assert screenshots

* #9 fix swipe gestures on iPad

* #9 Fix accessing items in session verification screen

* #9 Workaround for flaky unit test

* #9 Specify scheme for alpha build

* #9 Add reference screenshots

* Update python script path and check assets for png check

* Update script path

* Use static timezone for simulator time

* Fix build after SwiftFormat

* Add changelog

* Upload failed screenshots artifact

* Always upload artifacts

* Update boot simulator script

* Update simulator overridden time

* Install pytz before tests

* Get time from Ruby script

* Disable SwiftUI animation when running UI tests

* Update screenshots after animation setting

* Include reference images in the artifact

* Update matching precision

* Update image matching precision & revert artifact content

* Include Xcode result in the artifact

* Update test output directory

* Disable gradient on splash screen for tests

* Tap next button explicitly

* Wait a bit before checking alert

* Wait 1 second

* Run SwiftFormat on project

* Ignore temporary screenshots

* Fix most of the PR remarks

* Fix conflicts

* Bump Python version to 3

* Update reference screenshots for authentication screens

* Update SwiftFormat

* Fix flakey session verification test.

* Update scheme.

Co-authored-by: Doug <douglase@element.io>
2022-08-11 15:02:47 +03:00
Doug 4349b8fc03 #150: Use standard file headers everywhere.
* Add default header in IDETemplateMacros.plist.
* Use the standard header everywhere.
2022-08-11 08:54:24 +01:00
Doug b4caaa6ae7 Run SwiftFormat as a prebuild script to fail early on CI. 2022-08-04 08:50:43 +01:00
Doug 266ca656fc Add Screen suffix to all screens. (#125) 2022-06-30 16:48:46 +01:00
Anderas dd739d4766 Implement new ClientBuilder pattern for login (#120)
* Implement new ClientBuilder pattern for login

* Add changelog
2022-06-30 08:10:59 +01:00
Doug 596cf2df0b #43: Add the DesignKit package to the project.
* Add ElementTextFieldStyle and static style properties.
* Rename button styles, support sizes and simplify colour.
2022-06-09 14:44:46 +01:00
Stefan Ceriu 5fb981423b Gather coverage reports only for ElementX 2022-04-29 12:58:07 +03:00
Stefan Ceriu cfd0b14c81 Setup fastlane test lane and github action 2022-04-29 12:58:07 +03:00
Stefan Ceriu 9f1e909b8d Fix mistakenly removed coverage report gathering test flag. 2022-04-27 15:03:35 +03:00
Stefan Ceriu 3c0ca95e8f Added custom enviroment flags for unit and UI tests. 2022-04-13 17:19:11 +03:00
Stefan Ceriu fc692a1ffe Enabled code coverage gathering 2022-04-13 13:57:27 +03:00
Stefan Ceriu 35aad75326 Working tests, no more xcconfig files. 2022-04-13 13:57:27 +03:00
Stefan Ceriu 865b931c80 Initial setup. 2022-04-13 13:57:27 +03:00
Stefan Ceriu 9db1dda718 Added AttributedStringBuilder tests. 2022-03-30 14:32:41 +03:00