Skip to content

Commit

Permalink
test(playwright): Remove JSDom Requirement
Browse files Browse the repository at this point in the history
For now, removing screenshot feature for failed tests. This
means, that in general we should be able removing the
JSDom requirement from tests.

State at this commit: Other failures still exist, which
must be fixed next, like not being able to compile
the ApplicationWrapper.
  • Loading branch information
mmichaelis committed Aug 9, 2022
1 parent 24fd889 commit 6ccab0d
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 56 deletions.
1 change: 0 additions & 1 deletion itest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ module.exports = {
// failures `Exceeded timeout`.
testTimeout: 60000,
preset: "jest-playwright-preset",
testEnvironment: require.resolve("./playwright.environment.js"),
setupFilesAfterEnv: [require.resolve("expect-playwright")],
};
1 change: 0 additions & 1 deletion itest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"jest": "^28.1.3",
"jest-circus": "^28.1.3",
"jest-config": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-environment-node": "^28.1.3",
"jest-playwright-preset": "2.0.0",
"jest-runner": "^28.1.3",
Expand Down
52 changes: 0 additions & 52 deletions itest/playwright.environment.js

This file was deleted.

Loading

0 comments on commit 6ccab0d

Please sign in to comment.