configure fw lite desktop to use appsettings.json to let users overri… #82
Annotations
10 errors, 5 warnings, and 1 notice
Setup and run playwright tests:
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
|
Setup and run playwright tests:
frontend/tests/resetProject.test.ts#L35
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')
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
|
Setup and run playwright tests:
frontend/tests/pages/projectPage.ts#L48
2) [chromium] › viewerPage.test.ts:11:3 › Viewer Page › navigate to viewer ───────────────────────
TimeoutError: browserContext.waitForEvent: Timeout 5000ms exceeded while waiting for event "page"
at pages/projectPage.ts:48
46 |
47 | async clickBrowseInViewer(): Promise<ViewerPage> {
> 48 | const viewerTabPromise = this.page.context().waitForEvent('page')
| ^
49 | await this.browseButton.click();
50 | const viewerTab = await viewerTabPromise;
51 | return new ViewerPage(viewerTab, this.name, this.code).waitFor();
at ProjectPage.clickBrowseInViewer (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/projectPage.ts:48:50)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:18:42
|
Setup and run playwright tests:
frontend/tests/pages/projectPage.ts#L49
2) [chromium] › viewerPage.test.ts:11:3 › Viewer Page › navigate to viewer ───────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Browse' })
at pages/projectPage.ts:49
47 | async clickBrowseInViewer(): Promise<ViewerPage> {
48 | const viewerTabPromise = this.page.context().waitForEvent('page')
> 49 | await this.browseButton.click();
| ^
50 | const viewerTab = await viewerTabPromise;
51 | return new ViewerPage(viewerTab, this.name, this.code).waitFor();
52 | }
at ProjectPage.clickBrowseInViewer (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/projectPage.ts:49:29)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:18:42
|
Setup and run playwright tests:
frontend/tests/pages/projectPage.ts#L48
2) [chromium] › viewerPage.test.ts:11:3 › Viewer Page › navigate to viewer ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: browserContext.waitForEvent: Timeout 5000ms exceeded while waiting for event "page"
at pages/projectPage.ts:48
46 |
47 | async clickBrowseInViewer(): Promise<ViewerPage> {
> 48 | const viewerTabPromise = this.page.context().waitForEvent('page')
| ^
49 | await this.browseButton.click();
50 | const viewerTab = await viewerTabPromise;
51 | return new ViewerPage(viewerTab, this.name, this.code).waitFor();
at ProjectPage.clickBrowseInViewer (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/projectPage.ts:48:50)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:18:42
|
Setup and run playwright tests:
frontend/tests/pages/projectPage.ts#L49
2) [chromium] › viewerPage.test.ts:11:3 › Viewer Page › navigate to viewer ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Browse' })
at pages/projectPage.ts:49
47 | async clickBrowseInViewer(): Promise<ViewerPage> {
48 | const viewerTabPromise = this.page.context().waitForEvent('page')
> 49 | await this.browseButton.click();
| ^
50 | const viewerTab = await viewerTabPromise;
51 | return new ViewerPage(viewerTab, this.name, this.code).waitFor();
52 | }
at ProjectPage.clickBrowseInViewer (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/projectPage.ts:49:29)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:18:42
|
Setup and run playwright tests:
frontend/tests/fixtures.ts#L57
3) [chromium] › viewerPage.test.ts:22:3 › Viewer Page › find entry ───────────────────────────────
Error: Unexpected response status: 500. (Request URL: https://staging.languagedepot.org/api/lfclassic/sena-3/entries/?SortField=headword&SortWritingSystem=default&Ascending=true&Count=1000&Offset=0. Traceparent: 00-e3e95aec87172379ca9e501279e4070d-b98bb829cb148e67-01.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:57
55 | const url = response.request().url();
56 | const unexpectedResponseMessage = `Unexpected response status: ${status}. (Request URL: ${url}. Traceparent: ${traceparent}.)`;
> 57 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
| ^
58 | if (response.request().isNavigationRequest()) {
59 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
60 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:57:63)
|
Setup and run playwright tests:
frontend/tests/fixtures.ts#L57
3) [chromium] › viewerPage.test.ts:22:3 › Viewer Page › find entry ───────────────────────────────
Error: Unexpected response status: 500. (Request URL: https://staging.languagedepot.org/api/lfclassic/sena-3/writingSystems. Traceparent: 00-4a59d089e6a35c5f716a146178b8f4a4-f402cb46c1c210b5-01.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:57
55 | const url = response.request().url();
56 | const unexpectedResponseMessage = `Unexpected response status: ${status}. (Request URL: ${url}. Traceparent: ${traceparent}.)`;
> 57 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
| ^
58 | if (response.request().isNavigationRequest()) {
59 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
60 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:57:63)
|
Setup and run playwright tests:
frontend/tests/pages/basePage.ts#L59
3) [chromium] › viewerPage.test.ts:22:3 › Viewer Page › find entry ───────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Sena 3' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('heading', { name: 'Sena 3' })
at pages/basePage.ts:59
57 | }
58 | await BasePage.waitForHydration(this.page); // wait for, e.g., onclick handlers to be attached
> 59 | await Promise.all(this.locators.map(l => expect(l).toBeVisible({ timeout: this.locatorTimeout })));
| ^
60 | return this;
61 | }
62 |
at map (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:59:56)
at ViewerPage.waitFor (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:59:37)
at ViewerPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:44:7)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/viewerPage.test.ts:25:24
|
Setup and run playwright tests:
frontend/tests/fixtures.ts#L57
3) [chromium] › viewerPage.test.ts:22:3 › Viewer Page › find entry ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 500. (Request URL: https://staging.languagedepot.org/api/lfclassic/sena-3/entries/?SortField=headword&SortWritingSystem=default&Ascending=true&Count=1000&Offset=0. Traceparent: 00-cdbe4782c7df8ed610f423d6aa6da9ae-0b01beb1f51080bb-01.)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:57
55 | const url = response.request().url();
56 | const unexpectedResponseMessage = `Unexpected response status: ${status}. (Request URL: ${url}. Traceparent: ${traceparent}.)`;
> 57 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(500);
| ^
58 | if (response.request().isNavigationRequest()) {
59 | expect.soft(response.status(), unexpectedResponseMessage).toBeLessThan(400);
60 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:57:63)
|
Setup and run playwright tests:
frontend/[chromium] › emailWorkflow.test.ts#L1
frontend/[chromium] › emailWorkflow.test.ts took 49.8s
|
Setup and run playwright tests:
frontend/[firefox] › emailWorkflow.test.ts#L1
frontend/[firefox] › emailWorkflow.test.ts took 43.2s
|
Setup and run playwright tests:
frontend/[firefox] › errorHandling.test.ts#L1
frontend/[firefox] › errorHandling.test.ts took 41.9s
|
Setup and run playwright tests:
frontend/[chromium] › errorHandling.test.ts#L1
frontend/[chromium] › errorHandling.test.ts took 30.3s
|
Setup and run playwright tests:
frontend/[firefox] › userPage.test.ts#L1
frontend/[firefox] › userPage.test.ts took 25.2s
|
Setup and run playwright tests
8 failed
[chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ────────────────────
[chromium] › viewerPage.test.ts:11:3 › Viewer Page › navigate to viewer ────────────────────────
[chromium] › viewerPage.test.ts:22:3 › Viewer Page › find entry ────────────────────────────────
[chromium] › viewerPage.test.ts:52:3 › Viewer Page › entry details ─────────────────────────────
[firefox] › resetProject.test.ts:20:1 › reset project and upload .zip file ─────────────────────
[firefox] › viewerPage.test.ts:11:3 › Viewer Page › navigate to viewer ─────────────────────────
[firefox] › viewerPage.test.ts:22:3 › Viewer Page › find entry ─────────────────────────────────
[firefox] › viewerPage.test.ts:52:3 › Viewer Page › entry details ──────────────────────────────
62 passed (8.3m)
|
Loading