Skip to content
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
54bfaee
converted some e2e tests to vitest
hotzenklotz Apr 17, 2025
55e664c
convert all e2e tests to vitest
hotzenklotz Apr 17, 2025
a7e11fb
Merge branch 'master' of github.com:scalableminds/webknossos into vit…
hotzenklotz Apr 22, 2025
dff3af0
fix protobuf compilation in tests
hotzenklotz Apr 22, 2025
9e22157
add e2e snapshots
hotzenklotz Apr 22, 2025
61f0690
formatting
hotzenklotz Apr 22, 2025
3fbbdc1
fix unit test and e2e test separation in CI
hotzenklotz Apr 22, 2025
33573bb
Merge branch 'master' of github.com:scalableminds/webknossos into vit…
hotzenklotz Apr 22, 2025
eefabbe
fix protobuf mocking for unit tests
hotzenklotz Apr 23, 2025
a1c8b19
formatting
hotzenklotz Apr 23, 2025
e024f15
fix dataset e2e test snapshot
hotzenklotz Apr 23, 2025
a9c4a39
try node.js performance API
hotzenklotz Apr 23, 2025
a9157b9
debug node version
hotzenklotz Apr 23, 2025
012d6f3
try updated jsdom version
hotzenklotz Apr 23, 2025
6872d64
try no mocking for performance
hotzenklotz Apr 23, 2025
26e68b0
changelog
hotzenklotz Apr 23, 2025
6ed0f1a
Merge branch 'master' of github.com:scalableminds/webknossos into vit…
hotzenklotz Apr 23, 2025
9019a22
remove ava snapshots
hotzenklotz Apr 23, 2025
e4cdd5f
apply CodeRabbit feedback
hotzenklotz Apr 23, 2025
ffb3bb5
replaced ava with vitest
hotzenklotz Apr 23, 2025
2caa047
remove test.sh
hotzenklotz Apr 23, 2025
14182e7
remove ava, mock-require, node-fetch and c8 packages
hotzenklotz Apr 23, 2025
a164d0f
fix import
hotzenklotz Apr 23, 2025
2468257
use requests libs in screenshot tests
hotzenklotz Apr 23, 2025
e8296a8
remove obsolete, unused snapshots
hotzenklotz Apr 24, 2025
2dedd26
Merge branch 'master' of github.com:scalableminds/webknossos into vit…
hotzenklotz Apr 24, 2025
5009958
fix lockfile
hotzenklotz Apr 24, 2025
cd9c1ae
add 5 minute timeout to screenshot tests
hotzenklotz Apr 24, 2025
548dd82
Update frontend/javascripts/test/puppeteer/dataset_rendering.screensh…
hotzenklotz Apr 24, 2025
dbfeca5
updated changelog
hotzenklotz Apr 24, 2025
4c3a628
remove semphore from dtype screenshot test
hotzenklotz Apr 24, 2025
5b4510e
increase screenshot test setup timeouts
hotzenklotz Apr 24, 2025
849bdfc
use vitest test.for API instead of loops
hotzenklotz Apr 24, 2025
9f31d74
Merge branch 'master' into vitest-screenshot
hotzenklotz Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ describe("Project API (E2E)", () => {
beforeEach(() => {
setUserAuthToken(tokenUserA);
});

it("getProjects()", async ({ expect }) => {
const projects = _.sortBy(await api.getProjects(), (p) => p.name);

Expand Down
2 changes: 1 addition & 1 deletion frontend/javascripts/test/e2e-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { vi } from "vitest";
import { JSDOM } from "jsdom";

vi.mock("libs/request", async (importOriginal) => {
// The request lib is globally mocked. In the E2E tests, we actually want to run the proper fetch calls so we revert to the original implementation
// The request lib is globally mocked for the unit tests. In the E2E tests, we actually want to run the proper fetch calls so we revert to the original implementation
return await importOriginal();
});

Expand Down
Loading