Shipping method E2E test wait to content load #2922
pr-automation.yml
on: pull_request
Annotations
4 errors, 5 warnings, and 9 notices
[chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e:
playwright/pages/shippingMethodsPage.ts#L79
1) [chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e
Error: locator.waitFor: Error: strict mode violation: getByText('e2e-test-shippingZone-to-be-deleted') resolved to 2 elements:
1) <span data-macaw-ui-component="Text" class="_1ruekcr2 …>e2e-test-shippingZone-to-be-deleted</span> aka getByTestId('page-header').getByText('e2e-test-shippingZone-to-be-')
2) <textarea rows="10" maxlength="300" name="description" ari…>e2e-test-shippingZone-to-be-deleted</textarea> aka getByPlaceholder('Description of a shipping')
Call log:
- waiting for getByText('e2e-test-shippingZone-to-be-deleted') to be visible
at ../pages/shippingMethodsPage.ts:79
77 | await console.log(`Navigates to existing shipping method page: ${existingShippingMethodUrl}`);
78 | await this.page.goto(existingShippingMethodUrl);
> 79 | await this.page.getByText(shippingMethodName).waitFor({
| ^
80 | state: "visible",
81 | timeout: 60000,
82 | });
at ShippingMethodsPage.gotoExistingShippingMethod (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/shippingMethodsPage.ts:79:51)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:77:3
|
[chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e:
playwright/pages/shippingMethodsPage.ts#L79
1) [chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: getByText('e2e-test-shippingZone-to-be-deleted') resolved to 2 elements:
1) <span data-macaw-ui-component="Text" class="_1ruekcr2 …>e2e-test-shippingZone-to-be-deleted</span> aka getByTestId('page-header').getByText('e2e-test-shippingZone-to-be-')
2) <textarea rows="10" maxlength="300" name="description" ari…>e2e-test-shippingZone-to-be-deleted</textarea> aka getByPlaceholder('Description of a shipping')
Call log:
- waiting for getByText('e2e-test-shippingZone-to-be-deleted') to be visible
at ../pages/shippingMethodsPage.ts:79
77 | await console.log(`Navigates to existing shipping method page: ${existingShippingMethodUrl}`);
78 | await this.page.goto(existingShippingMethodUrl);
> 79 | await this.page.getByText(shippingMethodName).waitFor({
| ^
80 | state: "visible",
81 | timeout: 60000,
82 | });
at ShippingMethodsPage.gotoExistingShippingMethod (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/shippingMethodsPage.ts:79:51)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:77:3
|
[chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e:
playwright/pages/shippingMethodsPage.ts#L79
1) [chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Error: strict mode violation: getByText('e2e-test-shippingZone-to-be-deleted') resolved to 2 elements:
1) <span data-macaw-ui-component="Text" class="_1ruekcr2 …>e2e-test-shippingZone-to-be-deleted</span> aka getByTestId('page-header').getByText('e2e-test-shippingZone-to-be-')
2) <textarea rows="10" maxlength="300" name="description" ari…>e2e-test-shippingZone-to-be-deleted</textarea> aka getByPlaceholder('Description of a shipping')
Call log:
- waiting for getByText('e2e-test-shippingZone-to-be-deleted') to be visible
at ../pages/shippingMethodsPage.ts:79
77 | await console.log(`Navigates to existing shipping method page: ${existingShippingMethodUrl}`);
78 | await this.page.goto(existingShippingMethodUrl);
> 79 | await this.page.getByText(shippingMethodName).waitFor({
| ^
80 | state: "visible",
81 | timeout: 60000,
82 | });
at ShippingMethodsPage.gotoExistingShippingMethod (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/shippingMethodsPage.ts:79:51)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:77: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 (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-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-5094.dashboard.saleor.rocks
|
API_URL
https://pr-5094.staging.saleor.cloud/graphql/
|
POOL_NAME
pr-5094
|
POOL_INSTANCE
https://pr-5094.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 failed
[chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e
116 passed (4.8m)
|
🎭 Playwright Run Summary
1 skipped
117 passed (5.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
3.16 MB |
|
html-report--attempt-1
Expired
|
4.39 MB |
|