Skip to content

[WIP] tests: schedule Playwright across released simulators and use latest on PRs#3976

Closed
bznein wants to merge 2 commits intoBitBoxSwiss:masterfrom
bznein:ci/nightly-playwright-simulators
Closed

[WIP] tests: schedule Playwright across released simulators and use latest on PRs#3976
bznein wants to merge 2 commits intoBitBoxSwiss:masterfrom
bznein:ci/nightly-playwright-simulators

Conversation

@bznein
Copy link
Copy Markdown
Collaborator

@bznein bznein commented Apr 1, 2026

  • add a nightly Playwright run on master
  • generate the nightly simulator matrix from backend/devices/bitbox02/testdata/ simulators.json
  • run the scheduled Playwright workflow once per released simulator from v9.24.0
    onward
  • keep push/pull_request Playwright runs to a single simulator, but switch that
    simulator to the latest released version in simulators.json

Why

Before asking for reviews, here is a check list of the most common things you might need to consider:

  • updating the Changelog
  • writing unit tests
  • checking if your changes affect other coins or tokens in unintended ways
  • testing on multiple environments (Qt, Android, ...)
  • having an AI review your changes

bznein added 2 commits April 1, 2026 11:19
As we release more simulators, it'd be nice to run tests on all released
versions. However, doing so on every PR can slow down things: while
tests would be independent and parallel, we might still have to wait for
github to release enough runners. And eventual flakes would cause delays
in retrying.
Runs on all simulator are scheduled at midnight on master, for the PR
tests we use the latest released simulator.
@bznein bznein requested a review from thisconnect April 1, 2026 10:56
@bznein
Copy link
Copy Markdown
Collaborator Author

bznein commented Apr 1, 2026

This fails terribly :) not ready for review until I figure out why :)

@bznein bznein changed the title tests: schedule Playwright across released simulators and use latest on PRs [WIP] tests: schedule Playwright across released simulators and use latest on PRs Apr 1, 2026
@bznein bznein marked this pull request as draft April 1, 2026 12:35
@bznein
Copy link
Copy Markdown
Collaborator Author

bznein commented Apr 8, 2026

Closing, will resume this work after swapkit with a new approach

@bznein bznein closed this Apr 8, 2026
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.

1 participant