Feat stop tests button - #800
Conversation
commit: |
✅ Component tests succeed
|
✅ E2E tests succeed
|
| {title: 'Next attempt', value: '→'}, | ||
| {title: 'Run current test', value: 'r'}, | ||
| {title: 'Run all/selected tests', value: 'shift+r'}, | ||
| {title: 'Stop all tests', value: 's'}, |
There was a problem hiding this comment.
We have a conflict, like 20 lines above — S is already used for Suites page.
There was a problem hiding this comment.
Now shitf+s, but maybe just x ?
|
It doesn't seem to work right with multiple retries configured in UI. I tested it together with these changes: gemini-testing/testplane#1318 And yet, after clicking the stop button, it will stop only the current retry and not subsequent ones. |
|
As for the button on the right: I think we should be able to stop tests from there. We should just clearly state "Stop all" if stopping individual test is currently hard to implement. I would imagine that upon clicking on "Retry" button it would be replaced with "Stop All" button, that doesn't have arrow down with options on the right and has the exact same size to avoid UI jumps |
|
I think e2e test on this is a must. Especially considering that it would be very easy to set it up: we already have GUI tests, so any LLM would easily generate this one. |
7fba9a9 to
dd36d6e
Compare
|
It works much better now, but still occasionally leaves opened browsers behind (but that's rare and not critical). When stopping tests that are waiting for session from a remote grid, i get these errors: Instead of clean interrupted by user error. I think this would be a frequent case for sessions that take a while to start, for example, android sessions. So it would be nice to be fixed. Also, I think it would be very important to check how it works with remote grid in this case: will those sessions be left hanging or will they be correctly stopped? |



Now user can stop all test after run using stop button which appear after click to start button.