front: refacto old e2e tests #12758
Annotations
10 errors, 6 warnings, and 1 notice
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L124
1) [chromium] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Error: expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 1
- Array [
- "Nom",
- "Ch",
- "Arrivée demandée",
- "Départ demandé",
- "Temps d'arrêt (s)",
- "Réception sur signal fermé",
- "Marge théorique",
- ]
+ Array []
122 | await opInputTablePage.columnHeaders.allInnerTexts()
123 | );
> 124 | expect(actualColumnHeaders).toEqual(expectedColumnNames);
| ^
125 |
126 | // Validate the initial active row count
127 | await opInputTablePage.verifyActiveRowsCount(2);
at /app/tests/011-op-times-and-stops-tab.spec.ts:124:33
|
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L124
1) [chromium] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 1
- Array [
- "Nom",
- "Ch",
- "Arrivée demandée",
- "Départ demandé",
- "Temps d'arrêt (s)",
- "Réception sur signal fermé",
- "Marge théorique",
- ]
+ Array []
122 | await opInputTablePage.columnHeaders.allInnerTexts()
123 | );
> 124 | expect(actualColumnHeaders).toEqual(expectedColumnNames);
| ^
125 |
126 | // Validate the initial active row count
127 | await opInputTablePage.verifyActiveRowsCount(2);
at /app/tests/011-op-times-and-stops-tab.spec.ts:124:33
|
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L124
1) [chromium] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 1
- Array [
- "Nom",
- "Ch",
- "Arrivée demandée",
- "Départ demandé",
- "Temps d'arrêt (s)",
- "Réception sur signal fermé",
- "Marge théorique",
- ]
+ Array []
122 | await opInputTablePage.columnHeaders.allInnerTexts()
123 | );
> 124 | expect(actualColumnHeaders).toEqual(expectedColumnNames);
| ^
125 |
126 | // Validate the initial active row count
127 | await opInputTablePage.verifyActiveRowsCount(2);
at /app/tests/011-op-times-and-stops-tab.spec.ts:124:33
|
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L124
1) [chromium] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 1
- Array [
- "Nom",
- "Ch",
- "Arrivée demandée",
- "Départ demandé",
- "Temps d'arrêt (s)",
- "Réception sur signal fermé",
- "Marge théorique",
- ]
+ Array []
122 | await opInputTablePage.columnHeaders.allInnerTexts()
123 | );
> 124 | expect(actualColumnHeaders).toEqual(expectedColumnNames);
| ^
125 |
126 | // Validate the initial active row count
127 | await opInputTablePage.verifyActiveRowsCount(2);
at /app/tests/011-op-times-and-stops-tab.spec.ts:124:33
|
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L1
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
tests/pages/op-input-table-page-model.ts#L62
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.dsg-row').filter({ has: locator('input.dsg-input[value="West_station"]') }).first()
at pages/op-input-table-page-model.ts:62
60 | })
61 | .first();
> 62 | await rowLocator.waitFor({ state: 'attached' });
| ^
63 | const cell = rowLocator.locator('.dsg-cell').nth(columnIndex);
64 | await cell.waitFor({ state: 'visible', timeout: 5000 });
65 | await cell.dblclick();
at OperationalStudiesInputTablePage.fillTableCellByStationAndHeader (/app/tests/pages/op-input-table-page-model.ts:62:22)
at /app/tests/011-op-times-and-stops-tab.spec.ts:179:7
|
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L1
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
tests/pages/op-input-table-page-model.ts#L62
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.dsg-row').filter({ has: locator('input.dsg-input[value="West_station"]') }).first()
at pages/op-input-table-page-model.ts:62
60 | })
61 | .first();
> 62 | await rowLocator.waitFor({ state: 'attached' });
| ^
63 | const cell = rowLocator.locator('.dsg-cell').nth(columnIndex);
64 | await cell.waitFor({ state: 'visible', timeout: 5000 });
65 | await cell.dblclick();
at OperationalStudiesInputTablePage.fillTableCellByStationAndHeader (/app/tests/pages/op-input-table-page-model.ts:62:22)
at /app/tests/011-op-times-and-stops-tab.spec.ts:179:7
|
Run Playwright tests:
tests/011-op-times-and-stops-tab.spec.ts#L1
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
tests/pages/op-input-table-page-model.ts#L62
2) [chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('.dsg-row').filter({ has: locator('input.dsg-input[value="West_station"]') }).first()
at pages/op-input-table-page-model.ts:62
60 | })
61 | .first();
> 62 | await rowLocator.waitFor({ state: 'attached' });
| ^
63 | const cell = rowLocator.locator('.dsg-cell').nth(columnIndex);
64 | await cell.waitFor({ state: 'visible', timeout: 5000 });
65 | await cell.dblclick();
at OperationalStudiesInputTablePage.fillTableCellByStationAndHeader (/app/tests/pages/op-input-table-page-model.ts:62:22)
at /app/tests/011-op-times-and-stops-tab.spec.ts:179:7
|
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Playwright tests:
[webkit] › 009-rollingstock-editor.spec.ts#L1
[webkit] › 009-rollingstock-editor.spec.ts took 38.9s
|
Run Playwright tests:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 30.8s
|
Run Playwright tests:
[webkit] › 010-op-route-tab.spec.ts#L1
[webkit] › 010-op-route-tab.spec.ts took 25.1s
|
Run Playwright tests:
[webkit] › 008-train-schedule.spec.ts#L1
[webkit] › 008-train-schedule.spec.ts took 24.0s
|
Run Playwright tests:
[firefox] › 008-train-schedule.spec.ts#L1
[firefox] › 008-train-schedule.spec.ts took 21.4s
|
Run Playwright tests
6 failed
[chromium] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
[chromium] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
[firefox] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
[firefox] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
[webkit] › 011-op-times-and-stops-tab.spec.ts:89:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
[webkit] › 011-op-times-and-stops-tab.spec.ts:167:7 › Times and Stops Tab Verification › should correctly update and clear input table row
2 flaky
[chromium] › 003-study-management.spec.ts:29:7 › Test if operational study: study creation workflow is working properly › Create a new study
[chromium] › 004-scenario-management.spec.ts:39:7 › Test if operational study : scenario creation workflow is working properly › Update a scenario
81 passed (18.2m)
|
Loading