Improve tests' reliability (#763)

* Create publisher extension into the unit test target

* Add ViewModelContext test extension

* Refactor BugReportViewModelTests

* Fix failing UTs

* Idea PublishedClosure

* Refactor RoomDetailsViewModelTests

* Replace more Task.yield/Task.sleep

* Move leaveRoom/ignore/unignore under the @MainActor

* Revert "Idea PublishedClosure"

This reverts commit 4ab25291041f0dbd99083baf9d95bc6647f1fd97.

* Make process(viewAction:) sync

* Refactor BugReportViewModel callback to a publisher

* Fix UTs

* Refactor ReportContentViewModel

* Fix ui test build error

* Try make sonar happy

* Empty commit

* Revert "Try make sonar happy"

This reverts commit 97804b19373a8f55f12174ccbf27f1fd8db583b7.

* Rename ui test identifier

* Cleanup

* Callback -> actions refactor

* Update template

* Add publisher in TemplateCoordinator

* Add env variable in IntegrationTests.xctestplan

* Add async sequence extension

* Amend integration test plan

* Remove env variable from target.yml

* Cleanup

* Fix failing UI tests
This commit is contained in:
Alfonso Grillo
2023-04-05 17:07:12 +02:00
committed by GitHub
parent d24ee73d15
commit 2439431287
55 changed files with 273 additions and 233 deletions
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d3a511a1c225751c5fe3bf6e296c12612e28efa7f101b533191fa862eace69a
size 114029
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06d95ccd192c2c9550e4a405b76352d8f75d86a1d72cbc42dfab15743bcac2de
size 96766
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ed199f6c4b98bf600364b87010655c454a2dfeee9edc455e37988b60386e696
size 146593
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63627788babeceb6940989acf8e07c7244d50b4ab84c97bc74b4e19b9ee6ce47
size 120785
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22868875281c5277f94754837ecb9b85bcbdd5149c25552819e4e794395374e5
size 144520
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:324756300a6ca0abca19892b5ff4fea9bcd1718fb9375ed87de8e9e981a06908
size 118557
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1d1fa4ff4b3a3981f78f3ac41e62d110d38f1bc465bb41b77683544fc0bda1d
size 210079
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4120dca6e5eb55094f9e301bb3fa6e538b6f9a1226f29a2ab4832886661b429
size 163825