show orgs to non devs #77
Annotations
11 errors, 1 warning, and 1 notice
Publish results to testspace
Process completed with exit code 2.
|
Integration tests (Playwright):
frontend/tests/emailWorkflow.test.ts#L130
1) [chromium] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ─────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('dialog.modal').filter({ hasText: 'Add or invite a Member to this project' }).getByRole('button', { name: /Add Member|Add or invite Member/ })
128 | await addMemberModal.selectEditorRole();
129 | await addMemberModal.inviteCheckbox.check();
> 130 | await addMemberModal.submitButton.click();
| ^
131 | await page.locator(':text("has been sent an invitation email")').waitFor();
132 |
133 | // Check invite link returnTo is relative path, not absolute
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:130:37
|
Integration tests (Playwright):
frontend/tests/emailWorkflow.test.ts#L130
1) [chromium] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('dialog.modal').filter({ hasText: 'Add or invite a Member to this project' }).getByRole('button', { name: /Add Member|Add or invite Member/ })
128 | await addMemberModal.selectEditorRole();
129 | await addMemberModal.inviteCheckbox.check();
> 130 | await addMemberModal.submitButton.click();
| ^
131 | await page.locator(':text("has been sent an invitation email")').waitFor();
132 |
133 | // Check invite link returnTo is relative path, not absolute
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:130:37
|
Integration tests (Playwright):
frontend/tests/resetProject.test.ts#L35
2) [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
|
Integration tests (Playwright):
frontend/tests/resetProject.test.ts#L35
2) [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')
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
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L40
3) [chromium] › userPage.test.ts:22:1 › display form errors on invalid data ──────────────────────
Error: Unexpected response status: 500. (Request URL: https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/fih51/0x4AAAAAAAEeVZnI23-cX1WU/auto/fbE/normal/auto/. Traceparent: undefined.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
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)
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L42
3) [chromium] › userPage.test.ts:22:1 › display form errors on invalid data ──────────────────────
Error: Unexpected response status: 500. (Request URL: https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/fih51/0x4AAAAAAAEeVZnI23-cX1WU/auto/fbE/normal/auto/. Traceparent: undefined.)
expect(received).toBeLessThan(expected)
Expected: < 400
Received: 500
at fixtures.ts:42
40 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
41 | if (response.request().isNavigationRequest()) {
> 42 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
| ^
43 | }
44 | });
45 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:42:65)
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L40
3) [chromium] › userPage.test.ts:22:1 › display form errors on invalid data ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 500. (Request URL: https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/tx3bu/0x4AAAAAAAEeVZnI23-cX1WU/auto/fbE/normal/auto/. Traceparent: undefined.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
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)
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L42
3) [chromium] › userPage.test.ts:22:1 › display form errors on invalid data ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 500. (Request URL: https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/tx3bu/0x4AAAAAAAEeVZnI23-cX1WU/auto/fbE/normal/auto/. Traceparent: undefined.)
expect(received).toBeLessThan(expected)
Expected: < 400
Received: 500
at fixtures.ts:42
40 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
41 | if (response.request().isNavigationRequest()) {
> 42 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
| ^
43 | }
44 | });
45 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:42:65)
|
Integration tests (Playwright):
frontend/tests/viewerPage.test.ts#L33
4) [chromium] › viewerPage.test.ts:20:1 › find entry ─────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.fancy-border')
Expected string: "shrew"
Received string: " N. "
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.fancy-border')
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
31 | async function verifyViewerState(): Promise<void> {
32 | // Step 3: Check that we are on the shrew entry
> 33 | await expect(viewerPage.entryDictionaryPreview).toContainText('shrew');
| ^
34 | await expect(viewerPage.page.locator('.field:has-text("Citation form") input:visible'))
35 | .toHaveValue('nkhwizi');
36 |
at verifyViewerState (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:33:53)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:44:9
|
Integration tests (Playwright):
frontend/tests/viewerPage.test.ts#L33
4) [chromium] › viewerPage.test.ts:20:1 › find entry ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.fancy-border')
Expected string: "shrew"
Received string: " N. "
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.fancy-border')
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
- locator resolved to <div class="text-surface-content overflow-auto fancy-…>…</div>
- unexpected value " N. "
31 | async function verifyViewerState(): Promise<void> {
32 | // Step 3: Check that we are on the shrew entry
> 33 | await expect(viewerPage.entryDictionaryPreview).toContainText('shrew');
| ^
34 | await expect(viewerPage.page.locator('.field:has-text("Citation form") input:visible'))
35 | .toHaveValue('nkhwizi');
36 |
at verifyViewerState (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:33:53)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:44:9
|
Integration tests (Playwright):
frontend/[chromium] › errorHandling.test.ts#L1
frontend/[chromium] › errorHandling.test.ts took 29.4s
|
Integration tests (Playwright)
11 failed
[chromium] › emailWorkflow.test.ts:115:1 › register via new-user invitation email ──────────────
[chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ────────────────────
[chromium] › userPage.test.ts:22:1 › display form errors on invalid data ───────────────────────
[chromium] › viewerPage.test.ts:20:1 › find entry ──────────────────────────────────────────────
[chromium] › viewerPage.test.ts:50:1 › entry details ───────────────────────────────────────────
[firefox] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ────────
[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] › viewerPage.test.ts:20:1 › find entry ───────────────────────────────────────────────
[firefox] › viewerPage.test.ts:50:1 › entry details ────────────────────────────────────────────
1 flaky
[firefox] › userPage.test.ts:11:1 › can update account info ────────────────────────────────────
58 passed (8.1m)
|
Loading