gemini-testing / gemini-testing/html-reporter

`npx testplane gui -a` test autostart does not work in new UI

Open
#697 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
57
Forks
69
Avg merge
6d 22h
Merged PRs (30d)
9

Description

### Description

In the old design, the autorun for all tests is implemented here:

https://github.com/gemini-testing/html-reporter/blob/1103abaee3354e048c1580a6fe27bd03e8c8e7e6/lib/static/components/controls/run-button/index.jsx#L58-L62

In the new design, this runAllTests function is not being called.

The feature to automatically run all tests needs to be implemented for this option in the new report design.

### Verify latest release

- [x] I verified that the issue exists in the latest html-reporter release

### Html-reporter version

10.19.0

### Last html-reporter version that worked

_No response_

### Link to the code that reproduces this issue or a replay of the bug

_No response_

### Reproduction steps

- Run `npx testplane gui -a`
- Open new-ui GUI

### Actual Behavior

- Tests dont start automatically, if new ui is open (though they are starting when using old ui)

### Expected Behavior

- Tests start automatically because of `-a` CLI option

### Which Node.js version are you using?

20.18.1

_Internal issue: https://nda.ya.ru/t/6MgQHuWN7JEa7R_

Contributor guide

Open the contributing guide

Research direction

Start with lib/static/components/controls/run-button/index.jsx at the referenced autorun implementation and trace how the new UI handles the runAllTests function. Reproduce with `npx testplane gui -a` and open the new-ui GUI. Done means all tests start automatically with the `-a` option in the new design, as they do in the old UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.