Skip to content

End-to-end tests

End-to-end tests #46

Manually triggered September 6, 2023 05:50
Status Failure
Total duration 14m 9s
Artifacts 3

end-to-end-test-suite.yml

on: workflow_dispatch
Matrix: End-to-end test suite
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 4 warnings, and 3 notices
[chromium] › category.test.ts:12:7 › Category page › can set default config: __tests__/category.test.ts#L1
1) [chromium] › category.test.ts:12:7 › Category page › can set default config ─────────────────── Test timeout of 30000ms exceeded.
[chromium] › category.test.ts:12:7 › Category page › can set default config: pageObjects/luma/admin/cache.ts#L24
1) [chromium] › category.test.ts:12:7 › Category page › can set default config ─────────────────── Error: expect.toContainText: Target page, context or browser has been closed at ../pageObjects/luma/admin/cache.ts:24 22 | .click(); 23 | if (check) *** > 24 | await expect(this.page.locator(".message-success")).toContainText( | ^ 25 | /The Magento cache storage has been flushed./ 26 | ); 27 | *** at AdminCachePage.flushMagentoCache (/var/www/html/my-own-modules/category-code/Test/EndToEnd/pageObjects/luma/admin/cache.ts:24:59) at /var/www/html/my-own-modules/category-code/Test/EndToEnd/__tests__/category.test.ts:22:5
[chromium] › category.test.ts:12:7 › Category page › can set default config: __tests__/category.test.ts#L1
1) [chromium] › category.test.ts:12:7 › Category page › can set default config ─────────────────── Pending operations: - locator.click at pageObjects/luma/admin/cache.ts:22:8
[chromium] › category.test.ts:12:7 › Category page › can set default config: __tests__/category.test.ts#L1
1) [chromium] › category.test.ts:12:7 › Category page › can set default config ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › category.test.ts:12:7 › Category page › can set default config: pageObjects/luma/admin/okaeli-category-code/category-one.ts#L21
1) [chromium] › category.test.ts:12:7 › Category page › can set default config ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Category Code') ============================================================ at ../pageObjects/luma/admin/okaeli-category-code/category-one.ts:21 19 | public async setCategoryCode(categoryCode: string) *** 20 | await this.navigateTo(); > 21 | await this.page.getByLabel("Category Code").fill(categoryCode); | ^ 22 | await this.save(); 23 | *** 24 | at AdminOkaeliCategoryCodeCategoryOnePage.setCategoryCode (/var/www/html/my-own-modules/category-code/Test/EndToEnd/pageObjects/luma/admin/okaeli-category-code/category-one.ts:21:49) at /var/www/html/my-own-modules/category-code/Test/EndToEnd/__tests__/category.test.ts:18:5
[chromium] › category.test.ts:12:7 › Category page › can set default config: __tests__/category.test.ts#L1
1) [chromium] › category.test.ts:12:7 › Category page › can set default config ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - expect.toHaveTitle at pageObjects/luma/admin/okaeli-category-code/category-one.ts:15:31
End-to-end test suite (2.4.6, 8.2)
Process completed with exit code 1.
🎭 Playwright Run Summary
4 passed (1.0m)
🎭 Playwright Run Summary
4 passed (1.2m)
🎭 Playwright Run Summary
1 failed [chromium] › category.test.ts:12:7 › Category page › can set default config ──────────────────── 3 passed (1.9m)
Slow Test: [chromium] › category.test.ts#L1
[chromium] › category.test.ts took 45.9s
Slow Test: [chromium] › category.test.ts#L1
[chromium] › category.test.ts took 56.9s
Slow Test: [chromium] › category.test.ts#L1
[chromium] › category.test.ts took 1.4m
Slow Test: [setup] › auth.setup.ts#L1
[setup] › auth.setup.ts took 18.7s

Artifacts

Produced during runtime
Name Size
playwright-report-7.4-2.3.7-p4 Expired
10.7 MB
playwright-report-8.1-2.4.5 Expired
10.3 MB
playwright-report-8.2-2.4.6 Expired
12.9 MB