owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 663 forks source link

[gui-tests] abort testcase execution on first failure #11868

Closed saw-jan closed 2 months ago

saw-jan commented 2 months ago

The --abortOnFail option is available only when using --testsuite option but does not work with --testcase.

--abortOnFail If the --abortOnFail option is specified, squishrunner will terminate the suite execution as soon as a failed test case is detected.

This means that if we have test cases 1, 2, 3 and 4, and test case no.2 failed then test cases 3 and 4 will not run. Also if the fail was in the first scenario of test case no.2, other scenarios of test case no.2 still continue to run.

Fixes: https://github.com/owncloud/client/issues/10315