-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
refactor: e2e #7703
refactor: e2e #7703
Conversation
Deploying with
|
Latest commit: |
b1ad020
|
Status: | ✅ Deploy successful! |
Preview URL: | https://fce26137.immich.pages.dev |
Branch Preview URL: | https://refactor-e2e.immich.pages.dev |
e2e/src/setup.ts
Outdated
_reject = reject; | ||
}); | ||
|
||
const timeout = setTimeout(() => _reject(), 15_000); |
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.
If the compose project doesn't come up or runs into an error this would hang indefinitely. Now it throws a timeout exception after 15 seconds.
|
||
export const apiUtils = { | ||
setup: () => { | ||
setApiEndpoint: () => { |
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.
Looks like this only needs to be called (for each test) for the web specs.
* refactor: e2e * fix: submodule check * chore: extend startup timeout
No description provided.