fix integration tests depending on the home button. #67
Annotations
11 errors, 1 warning, and 1 notice
|
frontend/tests/resetProject.test.ts#L35
1) [chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ───────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Project successfully reset')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Project successfully reset')
33 | await resetProjectModel.clickNextStepButton('Reset project');
34 | await resetProjectModel.uploadProjectZipFile('tests/data/test-project-one-commit.zip');
> 35 | await expect(page.getByText('Project successfully reset')).toBeVisible();
| ^
36 | await page.getByRole('button', { name: 'Close' }).click();
37 | await resetProjectModel.assertGone();
38 |
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/resetProject.test.ts:35:62
|
frontend/tests/resetProject.test.ts#L75
1) [chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Project successfully reset')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Project successfully reset')
73 | await resetProjectModel.clickNextStepButton('Reset project');
74 | await resetProjectModel.uploadProjectZipFile(join(tempDir, 'reset-project-test-step-1.zip'));
> 75 | await expect(page.getByText('Project successfully reset')).toBeVisible();
| ^
76 | await page.getByRole('button', { name: 'Close' }).click();
77 | await resetProjectModel.assertGone();
78 |
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/resetProject.test.ts:75:62
|
frontend/tests/pages/mailPages.ts#L38
2) [firefox] › emailWorkflow.test.ts:78:1 › forgot password ──────────────────────────────────────
Error: Failed to find email: Forgot your password? (0)
Timeout 10000ms exceeded while waiting on the predicate
at pages/mailPages.ts:38
36 | }
37 | await email.click();
> 38 | }, `Failed to find email: ${subject} (${index})`).toPass({timeout: 10_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:89:37
|
frontend/tests/pages/mailPages.ts#L38
2) [firefox] › emailWorkflow.test.ts:78:1 › forgot password ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed to find email: Forgot your password? (0)
Timeout 10000ms exceeded while waiting on the predicate
at pages/mailPages.ts:38
36 | }
37 | await email.click();
> 38 | }, `Failed to find email: ${subject} (${index})`).toPass({timeout: 10_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:89:37
|
frontend/tests/fixtures.ts#L40
3) [firefox] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ──────────────
Error: Unexpected response status: 502. (Request URL: https://staging.languagedepot.org/api/graphql. Traceparent: 00-cd524d7696dcbf88dc51a75818c528db-efa58f68b2fa3def-01.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 502
at fixtures.ts:40
38 | const url = response.request().url();
39 | const unexpectedResponseMessage = `Unexpected response status: ${status}. (Request URL: ${url}. Traceparent: ${traceparent}.)`;
> 40 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
| ^
41 | if (response.request().isNavigationRequest()) {
42 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
43 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:40:63)
|
frontend/tests/fixtures.ts#L40
3) [firefox] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ──────────────
Error: Unexpected response status: 503. (Request URL: https://staging.languagedepot.org/v1/traces. Traceparent: undefined.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 503
at fixtures.ts:40
38 | const url = response.request().url();
39 | const unexpectedResponseMessage = `Unexpected response status: ${status}. (Request URL: ${url}. Traceparent: ${traceparent}.)`;
> 40 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
| ^
41 | if (response.request().isNavigationRequest()) {
42 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
43 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:40:63)
|
frontend/tests/emailWorkflow.test.ts#L1
3) [firefox] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ──────────────
Test timeout of 80000ms exceeded.
|
frontend/tests/emailWorkflow.test.ts#L130
3) [firefox] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ──────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator(':text("has been sent an invitation email")') to be visible
128 | await addMemberModal.selectEditorRole();
129 | await addMemberModal.submitButton.click();
> 130 | await page.locator(':text("has been sent an invitation email")').waitFor();
| ^
131 |
132 | // Check invite link returnTo is relative path, not absolute
133 | const inboxPage = await getInbox(page, uuid).goto();
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:130:68
|
frontend/tests/pages/mailPages.ts#L38
3) [firefox] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed to find email: Project invitation: (0)
Timeout 10000ms exceeded while waiting on the predicate
at pages/mailPages.ts:38
36 | }
37 | await email.click();
> 38 | }, `Failed to find email: ${subject} (${index})`).toPass({timeout: 10_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:134:37
|
frontend/tests/pages/mailPages.ts#L38
4) [firefox] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ───
Error: Failed to find email: Forgot your password? (0)
Timeout 10000ms exceeded while waiting on the predicate
at pages/mailPages.ts:38
36 | }
37 | await email.click();
> 38 | }, `Failed to find email: ${subject} (${index})`).toPass({timeout: 10_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:155:37
|
frontend/[chromium] › emailWorkflow.test.ts#L1
frontend/[chromium] › emailWorkflow.test.ts took 35.8s
|
6 failed
[chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ────────────────────
[firefox] › emailWorkflow.test.ts:78:1 › forgot password ───────────────────────────────────────
[firefox] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ───────────────
[firefox] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ────
[firefox] › resetProject.test.ts:20:1 › reset project and upload .zip file ─────────────────────
[firefox] › userPage.test.ts:31:1 › can reset password ─────────────────────────────────────────
2 flaky
[chromium] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ───
[chromium] › userPage.test.ts:31:1 › can reset password ────────────────────────────────────────
54 passed (9.9m)
|
This job failed
Loading