Skip to content

Commit 2eea8a6

Browse files
Update screenshot tests to use Vitest (#8553)
* converted some e2e tests to vitest * convert all e2e tests to vitest * fix protobuf compilation in tests * add e2e snapshots * formatting * fix unit test and e2e test separation in CI * fix protobuf mocking for unit tests * formatting * fix dataset e2e test snapshot * try node.js performance API * debug node version * try updated jsdom version * try no mocking for performance * changelog * remove ava snapshots * apply CodeRabbit feedback * replaced ava with vitest * remove test.sh * remove ava, mock-require, node-fetch and c8 packages * fix import * use requests libs in screenshot tests * remove obsolete, unused snapshots * fix lockfile * add 5 minute timeout to screenshot tests * Update frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * updated changelog * remove semphore from dtype screenshot test * increase screenshot test setup timeouts * use vitest test.for API instead of loops --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b1a619b commit 2eea8a6

File tree

12 files changed

+418
-1842
lines changed

12 files changed

+418
-1842
lines changed

CHANGELOG.unreleased.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
1515
- When uploading multiple NMLs at once, the description is now kept, if all NMLs with non-empty descriptions have the same description. [#8533](https://github.com/scalableminds/webknossos/pull/8533)
1616

1717
### Changed
18-
- Updated E2E test to use `vitest` framework instead of `ava`. [#8543](https://github.com/scalableminds/webknossos/pull/8543)
18+
- Updated E2E tests to use `vitest` framework instead of `ava`. [#8543](https://github.com/scalableminds/webknossos/pull/8543)
1919
- Adjusted the names of custom model inference jobs and train model jobs to match the worker's naming. [#8524](https://github.com/scalableminds/webknossos/pull/8524)
20+
- Updated screenshot tests to use `vitest` framework instead of `ava`. [#8553](https://github.com/scalableminds/webknossos/pull/8553)
2021

2122
### Fixed
2223

0 commit comments

Comments
 (0)