Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Karma with Web Test Runner #316

Merged
merged 27 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
64843fc
poc: web test runner
shamilovtim Nov 27, 2023
7d96ca7
add ci test
shamilovtim Nov 27, 2023
ca19c8b
webkit is hanging
shamilovtim Nov 27, 2023
c43850a
naming
shamilovtim Nov 27, 2023
c09d2f7
shutoff webkit
shamilovtim Nov 27, 2023
a04ac05
unbump playwright
shamilovtim Nov 27, 2023
9e93208
remove manual timeouts
shamilovtim Nov 27, 2023
56cf9d0
use concurrency 1
shamilovtim Nov 27, 2023
b075b1c
wrap up poc
shamilovtim Nov 28, 2023
41ae6ec
run CI for poc back to back with previous impl
shamilovtim Nov 28, 2023
f48c325
tie up loose ends
shamilovtim Nov 29, 2023
aacf06c
let wtr run to compare
shamilovtim Nov 29, 2023
7566abc
Merge branch 'main' into tshamilov/web-test-runner
shamilovtim Nov 29, 2023
210b693
add back webkit. apples to apples with karma.
shamilovtim Nov 29, 2023
138c155
Merge branch 'main' into tshamilov/web-test-runner
shamilovtim Nov 29, 2023
cfdd6a3
remove karma
shamilovtim Nov 29, 2023
bb9d6ce
remove karma
shamilovtim Nov 29, 2023
1a374f3
fix tbdocs (i assume)
shamilovtim Nov 29, 2023
de7ee5d
update ci config
shamilovtim Nov 29, 2023
092f1b9
better naming of scripts
shamilovtim Nov 29, 2023
d99e6de
fix node
shamilovtim Nov 29, 2023
defbbf7
revert test config changes
shamilovtim Nov 30, 2023
1e861f6
fix env var override
shamilovtim Nov 30, 2023
1ee3e5a
cleanup ci config
shamilovtim Nov 30, 2023
df95935
cleanup explicit deps
shamilovtim Nov 30, 2023
489f2a5
Merge branch 'main' into tshamilov/web-test-runner
shamilovtim Nov 30, 2023
9902026
add back playwright
shamilovtim Dec 1, 2023
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
18 changes: 0 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -96,7 +95,6 @@
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"node-stdlib-browser": "1.2.0",
"playwright": "1.40.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shamilovtim pretty sure we need to keep the @playwright/test dev dependencies.

every time we've tried to remove them in the past and only have @playwright/test as a dev dep, someone reports issues running tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"rimraf": "4.4.0",
"typescript": "5.1.6"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -108,7 +107,6 @@
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"node-stdlib-browser": "1.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"sinon": "15.0.2",
"source-map-loader": "4.0.1",
Expand Down
2 changes: 0 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -89,7 +88,6 @@
"eslint": "8.47.0",
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"typescript": "5.1.6"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/credentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"@web5/common": "0.2.1",
"@web5/crypto": "0.2.2",
Expand All @@ -97,7 +96,6 @@
"eslint": "8.47.0",
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"typescript": "5.1.6"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -100,7 +99,6 @@
"eslint": "8.47.0",
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"sinon": "15.0.2",
"source-map-loader": "4.0.1",
Expand Down
2 changes: 0 additions & 2 deletions packages/dids/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -106,7 +105,6 @@
"eslint": "8.47.0",
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"sinon": "15.0.2",
"source-map-loader": "4.0.1",
Expand Down
2 changes: 0 additions & 2 deletions packages/identity-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"@web5/api": "0.8.2",
"c8": "8.0.1",
Expand All @@ -93,7 +92,6 @@
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"node-stdlib-browser": "1.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"typescript": "5.1.6"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/proxy-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -92,7 +91,6 @@
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"node-stdlib-browser": "1.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"typescript": "5.1.6"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/user-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-mocha": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "8.0.1",
"chai": "4.3.10",
Expand All @@ -92,7 +91,6 @@
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"node-stdlib-browser": "1.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"typescript": "5.1.6"
}
Expand Down