File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -127,16 +127,28 @@ Login "test/test_windows.py::WindowsTest::test_1_device_code_login"
127
127
128
128
# Run IMX and zkEVM tests
129
129
Run- Pytest " test/test.py"
130
+ if (-not $? ) {
131
+ Write-Output " Tests failed. Stopping execution."
132
+ exit 1
133
+ }
130
134
131
135
# Relogin
132
136
Stop-SampleApp
133
137
Start-SampleApp
134
138
Run- Pytest " test/test_windows.py::WindowsTest::test_3_device_code_relogin"
139
+ if (-not $? ) {
140
+ Write-Output " Relogin test failed. Stopping execution."
141
+ exit 1
142
+ }
135
143
136
144
# Reconnect
137
145
Stop-SampleApp
138
146
Start-SampleApp
139
147
Run- Pytest " test/test_windows.py::WindowsTest::test_4_device_code_reconnect"
148
+ if (-not $? ) {
149
+ Write-Output " Reconnect test failed. Stopping execution."
150
+ exit 1
151
+ }
140
152
141
153
# Logout
142
154
Logout
You can’t perform that action at this time.
0 commit comments