Skip to content

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

@KuznetsovRoman

Description

@KuznetsovRoman

Description

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

useEffect(() => {
if (autoRun) {
runAllTests();
}
}, []);

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions