[E2E] Backporting auth fixes #2835
pr-automation.yml
on: pull_request
Annotations
9 errors, 5 warnings, and 9 notices
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes:
playwright/tests/attributes.spec.ts#L169
1) [chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('attribute-type-select')
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('attribute-type-select')
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
167 | await attributesPage.waitForDOMToFullyLoad();
168 | await attributesPage.expectElementIsHidden(attributesPage.successBanner);
> 169 | await expect(attributesPage.attributeSelect).toHaveAttribute("aria-disabled", "true");
| ^
170 | await expect(attributesPage.metadataKeyInput).toHaveValue("new key");
171 | await expect(attributesPage.metadataValueInput).toHaveValue("new value");
172 | await expect(attributesPage.attributeDefaultLabelInput).toHaveValue(`updated ${attr.name}`);
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/attributes.spec.ts:169:50
|
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes:
playwright/tests/attributes.spec.ts#L169
1) [chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('attribute-type-select')
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('attribute-type-select')
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
167 | await attributesPage.waitForDOMToFullyLoad();
168 | await attributesPage.expectElementIsHidden(attributesPage.successBanner);
> 169 | await expect(attributesPage.attributeSelect).toHaveAttribute("aria-disabled", "true");
| ^
170 | await expect(attributesPage.metadataKeyInput).toHaveValue("new key");
171 | await expect(attributesPage.metadataValueInput).toHaveValue("new value");
172 | await expect(attributesPage.attributeDefaultLabelInput).toHaveValue(`updated ${attr.name}`);
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/attributes.spec.ts:169:50
|
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes:
playwright/tests/attributes.spec.ts#L169
1) [chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('attribute-type-select')
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('attribute-type-select')
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
167 | await attributesPage.waitForDOMToFullyLoad();
168 | await attributesPage.expectElementIsHidden(attributesPage.successBanner);
> 169 | await expect(attributesPage.attributeSelect).toHaveAttribute("aria-disabled", "true");
| ^
170 | await expect(attributesPage.metadataKeyInput).toHaveValue("new key");
171 | await expect(attributesPage.metadataValueInput).toHaveValue("new value");
172 | await expect(attributesPage.attributeDefaultLabelInput).toHaveValue(`updated ${attr.name}`);
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/attributes.spec.ts:169:50
|
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes:
playwright/tests/attributes.spec.ts#L169
2) [chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('attribute-type-select')
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('attribute-type-select')
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
167 | await attributesPage.waitForDOMToFullyLoad();
168 | await attributesPage.expectElementIsHidden(attributesPage.successBanner);
> 169 | await expect(attributesPage.attributeSelect).toHaveAttribute("aria-disabled", "true");
| ^
170 | await expect(attributesPage.metadataKeyInput).toHaveValue("new key");
171 | await expect(attributesPage.metadataValueInput).toHaveValue("new value");
172 | await expect(attributesPage.attributeDefaultLabelInput).toHaveValue(`updated ${attr.name}`);
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/attributes.spec.ts:169:50
|
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes:
playwright/tests/attributes.spec.ts#L169
2) [chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('attribute-type-select')
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('attribute-type-select')
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
167 | await attributesPage.waitForDOMToFullyLoad();
168 | await attributesPage.expectElementIsHidden(attributesPage.successBanner);
> 169 | await expect(attributesPage.attributeSelect).toHaveAttribute("aria-disabled", "true");
| ^
170 | await expect(attributesPage.metadataKeyInput).toHaveValue("new key");
171 | await expect(attributesPage.metadataValueInput).toHaveValue("new value");
172 | await expect(attributesPage.attributeDefaultLabelInput).toHaveValue(`updated ${attr.name}`);
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/attributes.spec.ts:169:50
|
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes:
playwright/tests/attributes.spec.ts#L169
2) [chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: getByTestId('attribute-type-select')
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('attribute-type-select')
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
- locator resolved to <div class="jss23" data-test-id="attribute-type-selec…>…</div>
- unexpected value "null"
167 | await attributesPage.waitForDOMToFullyLoad();
168 | await attributesPage.expectElementIsHidden(attributesPage.successBanner);
> 169 | await expect(attributesPage.attributeSelect).toHaveAttribute("aria-disabled", "true");
| ^
170 | await expect(attributesPage.metadataKeyInput).toHaveValue("new key");
171 | await expect(attributesPage.metadataValueInput).toHaveValue("new value");
172 | await expect(attributesPage.attributeDefaultLabelInput).toHaveValue(`updated ${attr.name}`);
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/attributes.spec.ts:169:50
|
|
[chromium] › orders.spec.ts:31:5 › TC: SALEOR_28 Create basic order @e2e @order:
playwright/pages/basePage.ts#L104
3) [chromium] › orders.spec.ts:31:5 › TC: SALEOR_28 Create basic order @e2e @order ───────────────
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[data-test-type="success"]').locator('text=finalized') to be visible
at ../pages/basePage.ts:104
102 |
103 | async expectSuccessBannerMessage(msg: string) {
> 104 | await this.successBanner.locator(`text=${msg}`).waitFor({ state: "visible", timeout: 10000 });
| ^
105 | await expect(this.errorBanner, "No error banner should be visible").not.toBeVisible();
106 | }
107 |
at DraftOrdersPage.expectSuccessBannerMessage (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:104:53)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:45:25
|
run-tests (1/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 (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/
|
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/
|
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-2".
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-5070.dashboard.saleor.rocks
|
API_URL
https://pr-5070.staging.saleor.cloud/graphql/
|
POOL_NAME
pr-5070
|
POOL_INSTANCE
https://pr-5070.staging.saleor.cloud
|
BACKUP_NAMESPACE
snapshot-automation-tests-3.19
|
SNAPSHOT
backup_id=fXxB2CC7, version=3.19.53, name=snapshot-automation-tests-3.19
|
SALEOR_CLOUD_SERVICE
saleor-staging-v319
|
🎭 Playwright Run Summary
1 skipped
100 passed (4.5m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e product attribute to be updated 1 attribute @e2e @attributes
[chromium] › attributes.spec.ts:158:7 › TC: SALEOR_128 User should be able to edit existing e2e content attribute to be updated 2 attribute @e2e @attributes
1 flaky
[chromium] › orders.spec.ts:31:5 › TC: SALEOR_28 Create basic order @e2e @order ────────────────
1 skipped
98 passed (7.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
22.2 MB |
|
html-report--attempt-2
Expired
|
24.7 MB |
|