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

refactor: e2e #7703

Merged
merged 3 commits into from
Mar 7, 2024
Merged

refactor: e2e #7703

merged 3 commits into from
Mar 7, 2024

Conversation

jrasm91
Copy link
Contributor

@jrasm91 jrasm91 commented Mar 7, 2024

No description provided.

Copy link

cloudflare-pages bot commented Mar 7, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b1ad020
Status: ✅  Deploy successful!
Preview URL: https://fce26137.immich.pages.dev
Branch Preview URL: https://refactor-e2e.immich.pages.dev

View logs

e2e/src/setup.ts Outdated
_reject = reject;
});

const timeout = setTimeout(() => _reject(), 15_000);
Copy link
Contributor Author

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: () => {
Copy link
Contributor Author

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.

@jrasm91 jrasm91 merged commit b733a29 into main Mar 7, 2024
25 checks passed
@jrasm91 jrasm91 deleted the refactor/e2e branch March 7, 2024 15:14
aviv926 pushed a commit to aviv926/immich that referenced this pull request Mar 7, 2024
* refactor: e2e

* fix: submodule check

* chore: extend startup timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants