Commit 6a4e655
authored
fix: Windows UI test automation (#550)
* feat(tests): implement reliable CI authentication automation
- Add browser process isolation workaround for Unity Passport authentication
- Configure protocol associations and browser permissions programmatically
- Handle both full login flows and cached session scenarios
- Fix MailSlurp API URL configuration for OTP retrieval
- Implement controlled logout process to prevent app crashes
- Increase AltDriver timeouts for CI stability
* fix(ci): prevent parallel UI tests from competing for same email inbox
- Change concurrency group from per-platform to shared 'ui-tests-email-inbox'
- Ensures macOS and Windows tests run sequentially to avoid MailSlurp race conditions
- Prevents OTP emails being consumed by wrong test when tests run in parallel
* revert: remove unrelated gitignore and package changes from CI test PR
* ci: prevent unnecessary test cancellations in UI workflow
- Add cancel-in-progress: false to ui-tests-email-inbox concurrency group
- Allows queued tests to complete rather than being canceled by new runs
- Improves CI resource utilization and debugging experience
- Maintains existing protection against MailSlurp OTP race conditions
* fix: implement smart login with state-aware authentication flow
* ci: skipping imx transfer tests
* ci: skip imx tests for mac
* ci: debug login button
* test: force clean Unity state on test startup
* chore: uncomment imx transfer tests
* ci: switch to passport logger
* docs: add ui logging requirements1 parent a91a6d0 commit 6a4e655
File tree
7 files changed
+893
-104
lines changed- .github/workflows
- sample/Tests
- src
- test
- src/Packages/Passport/Runtime/ThirdParty/ImmutableBrowserCore
7 files changed
+893
-104
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | | - | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments