High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: flappy e2e test (#17832)
Min Idzelisdab4870fed64
diff --git a/e2e/src/api/specs/oauth.e2e-spec.ts b/e2e/src/api/specs/oauth.e2e-spec.tsindex 3b1e75d3e5..9e4d64892e 100644--- a/e2e/src/api/specs/oauth.e2e-spec.ts+++ b/e2e/src/api/specs/oauth.e2e-spec.ts@@ -142,7 +142,7 @@ describe(`/oauth`, () => {it(`should throw an error if the state mismatches`, async () => {const callbackParams = await loginWithOAuth('oauth-auto-register');const { state } = await loginWithOAuth('oauth-auto-register');- const { status, body } = await request(app)+ const { status } = await request(app).post('/oauth/callback').send({ ...callbackParams, state });expect(status).toBeGreaterThanOrEqual(400);diff --git a/e2e/src/web/specs/shared-link.e2e-spec.ts b/e2e/src/web/specs/shared-link.e2e-spec.tsindex 562a0b4e8c..aeddb86322 100644--- a/e2e/src/web/specs/shared-link.e2e-spec.ts+++ b/e2e/src/web/specs/shared-link.e2e-spec.ts@@ -55,7 +55,6 @@ test.describe('Shared Links', () => {await page.goto(`/share/${sharedLink.key}`);await page.getByRole('heading', { name: 'Test Album' }).waitFor();await page.getByRole('button', { name: 'Download' }).click();- await page.getByText('DOWNLOADING', { exact: true }).waitFor();await page.waitForEvent('download');});