speedtest/tests/e2e/helpers/ui.js
sstidl 49f54a5c3c
add e2e testing (#777)
* docs(test): add playwright modes test plan

* test(e2e): add playwright phase-1 mode coverage

* test(e2e): add classic standalone no-server regression

* ci(docker): gate image build on playwright e2e

* ci(e2e): run on master push and allow manual dispatch

---------

Co-authored-by: Stefan Stidl <stefan.stidl@ffg.at>
2026-04-12 14:59:54 +02:00

12 lines
222 B
JavaScript

function modernStartButton(page) {
return page.locator('#start-button');
}
function classicStartButton(page) {
return page.locator('#startStopBtn');
}
module.exports = {
modernStartButton,
classicStartButton,
};