Skip to content

Feat stop tests button - #800

Open
sonic16x wants to merge 2 commits into
masterfrom
stop-button
Open

Feat stop tests button#800
sonic16x wants to merge 2 commits into
masterfrom
stop-button

Conversation

@sonic16x

Copy link
Copy Markdown
Contributor

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

Screenshot 2026-08-23 at 23 21 50 Screenshot 2026-08-23 at 23 22 23

@pkg-pr-new

pkg-pr-new Bot commented Aug 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/html-reporter@800

commit: b535e01

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

✅ Component tests succeed

Report

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

✅ E2E tests succeed

Report

{title: 'Next attempt', value: '→'},
{title: 'Run current test', value: 'r'},
{title: 'Run all/selected tests', value: 'shift+r'},
{title: 'Stop all tests', value: 's'},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a conflict, like 20 lines above — S is already used for Suites page.

@shadowusr

Copy link
Copy Markdown
Member

Browsers are not closed reliably on stop, I reproduced this multiple times, when after stopping, the browsers are left hanging:

Screenshot 2026-08-24 at 5 02 53 PM

@shadowusr

Copy link
Copy Markdown
Member

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.

@shadowusr

Copy link
Copy Markdown
Member

IMO this looks pretty ugly:

Screenshot 2026-08-24 at 5 40 59 PM

It would be really nice if we didn't show any error at all in this case, but instead clearly stated in status "Interrupted" and for example had gray icon and gray retry selector background (not red).

This is not absolutely critical, but would be very nice to have.

@shadowusr

Copy link
Copy Markdown
Member

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

@shadowusr

Copy link
Copy Markdown
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants