-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve e2e browser test reliability (#1490)
Previously we were trying to start the webserver from playwright's globalSetup, which could have been causing our tests to hang. Now playwright will attempt to start the server, and timeout if that fails, rather than leaving the test in a running state. Further fixes include: - prevent dotenv being loading in CI environments, and being loaded multiple times in local environments (by moving it to globalSetup) - use npm link for testing against the current library build in CI - added a maximum timeout for e2e tests of 20 minutes (down from the default 360 minutes or 6 hours previously used) in CI * Improve E2E: Build once, test many: This allows us to build the code to test once, and then test it across many different operating systems. * Migrate browser e2e tests to use Github Environments: This should help give us clearer errors as to which environment is failing due to invalid credentials or other infrastructure issues. * Use a simple NextJS app for tests, and run basic browser-based tests on it * Update playwright config to use next test app * No longer send notification on failure Co-authored-by: Matthieu Bosquet <[email protected]> Co-authored-by: Nicolas Seydoux <[email protected]>
- Loading branch information
1 parent
8a8bce2
commit a2e1f01
Showing
47 changed files
with
9,587 additions
and
458 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,5 @@ docs/dist/ | |
.codesandbox/sandbox/.parcel-cache/ | ||
test-results/ | ||
.vercel | ||
.virtualenv | ||
.virtualenv | ||
.parcel-cache/ |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
a2e1f01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
solid-client-js – ./
solid-client.vercel.app
solid-client-js-inrupt.vercel.app
solid-client-js-git-main-inrupt.vercel.app