Add service worker and show banner when update or offline #2883
pr-automation.yml
on: pull_request
Annotations
5 errors, 5 warnings, and 9 notices
[chromium] › staffMembers.spec.ts:53:5 › TC: SALEOR_211 Create a staff member @e2e @staff-members:
playwright/pages/basePage.ts#L113
1) [chromium] › staffMembers.spec.ts:53:5 › TC: SALEOR_211 Create a staff member @e2e @staff-members
Error: locator.waitFor: Timeout 15000ms exceeded.
Call log:
- waiting for locator('[data-test-type="success"]').first() to be visible
at ../pages/basePage.ts:113
111 |
112 | async expectSuccessBanner() {
> 113 | await this.successBanner.first().waitFor({ state: "visible", timeout: 15000 });
| ^
114 | await expect(this.errorBanner, "No error banner should be visible").not.toBeVisible();
115 | }
116 |
at StaffMembersPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:113:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/staffMembers.spec.ts:63:26
|
[chromium] › staffMembers.spec.ts:53:5 › TC: SALEOR_211 Create a staff member @e2e @staff-members:
playwright/pages/basePage.ts#L113
1) [chromium] › staffMembers.spec.ts:53:5 › TC: SALEOR_211 Create a staff member @e2e @staff-members
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Timeout 15000ms exceeded.
Call log:
- waiting for locator('[data-test-type="success"]').first() to be visible
at ../pages/basePage.ts:113
111 |
112 | async expectSuccessBanner() {
> 113 | await this.successBanner.first().waitFor({ state: "visible", timeout: 15000 });
| ^
114 | await expect(this.errorBanner, "No error banner should be visible").not.toBeVisible();
115 | }
116 |
at StaffMembersPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:113:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/staffMembers.spec.ts:63:26
|
[chromium] › staffMembers.spec.ts:53:5 › TC: SALEOR_211 Create a staff member @e2e @staff-members:
playwright/pages/basePage.ts#L113
1) [chromium] › staffMembers.spec.ts:53:5 › TC: SALEOR_211 Create a staff member @e2e @staff-members
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Timeout 15000ms exceeded.
Call log:
- waiting for locator('[data-test-type="success"]').first() to be visible
at ../pages/basePage.ts:113
111 |
112 | async expectSuccessBanner() {
> 113 | await this.successBanner.first().waitFor({ state: "visible", timeout: 15000 });
| ^
114 | await expect(this.errorBanner, "No error banner should be visible").not.toBeVisible();
115 | }
116 |
at StaffMembersPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:113:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/staffMembers.spec.ts:63:26
|
[chromium] › product.spec.ts:22:5 › TC: SALEOR_3 Create basic product with variants @e2e @product:
playwright/pages/basePage.ts#L114
2) [chromium] › product.spec.ts:22:5 › TC: SALEOR_3 Create basic product with variants @e2e @Product
Error: No error banner should be visible
Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('[data-test-type="error"]')
Expected: not visible
Received: visible
Call log:
- No error banner should be visible with timeout 5000ms
- waiting for locator('[data-test-type="error"]')
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
- locator resolved to <div class="jss113 jss2" data-test-type="error" data-…>…</div>
- unexpected value "visible"
at ../pages/basePage.ts:114
112 | async expectSuccessBanner() {
113 | await this.successBanner.first().waitFor({ state: "visible", timeout: 15000 });
> 114 | await expect(this.errorBanner, "No error banner should be visible").not.toBeVisible();
| ^
115 | }
116 |
117 | async expectInfoBanner() {
at BasePage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:114:77)
at ProductPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/productPage.ts:193:5)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/product.spec.ts:33:3
|
run-tests (2/2)
Process completed with exit code 1.
|
deploy-dashboard
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3, actions/cache@v3, aws-actions/configure-aws-credentials@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-tests (1/2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@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-tests (2/2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
merge-reports
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports", "html-report--attempt-1".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
BASE_URL
https://pr-5081.dashboard.saleor.rocks
|
API_URL
https://pr-5081.staging.saleor.cloud/graphql/
|
POOL_NAME
pr-5081
|
POOL_INSTANCE
https://pr-5081.staging.saleor.cloud
|
BACKUP_NAMESPACE
snapshot-automation-tests
|
SNAPSHOT
backup_id=io2uW86I, version=3.21.0, name=snapshot-automation-tests
|
SALEOR_CLOUD_SERVICE
saleor-master-staging
|
🎭 Playwright Run Summary
1 skipped
104 passed (5.7m)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
14.7 MB |
|
html-report--attempt-1
Expired
|
16.6 MB |
|