[QA] Fixing flaky test: SALEOR_3 Create basic product with variant #1790
pr-automation.yml
on: pull_request
Annotations
2 errors, 5 warnings, and 8 notices
[chromium] › shippingMethods.spec.ts:52:5 › TC: SALEOR_33 Add weight rate to shipping method - with included zip codes and excluded product @shipping-method @e2e:
playwright/tests/shippingMethods.spec.ts#L1
1) [chromium] › shippingMethods.spec.ts:52:5 › TC: SALEOR_33 Add weight rate to shipping method - with included zip codes and excluded product @shipping-method @e2e
Test timeout of 45000ms exceeded.
|
[chromium] › shippingMethods.spec.ts:52:5 › TC: SALEOR_33 Add weight rate to shipping method - with included zip codes and excluded product @shipping-method @e2e:
playwright/pages/shippingRatesPage.ts#L50
1) [chromium] › shippingMethods.spec.ts:52:5 › TC: SALEOR_33 Add weight rate to shipping method - with included zip codes and excluded product @shipping-method @e2e
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for getByTestId('assign-and-save-button')
- locator resolved to <button type="submit" data-test-state="default" data-mac…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element was detached from the DOM, retrying
at ../pages/shippingRatesPage.ts:50
48 | await this.assignProductsDialog.searchForProductInDialog(name);
49 | await this.assignProductsDialog.selectProduct(name);
> 50 | await this.assignProductsDialog.assignAndSaveButton.click();
| ^
51 | await this.assignProductsDialog.assignAndSaveButton.waitFor({
52 | state: "hidden",
53 | timeout: 5000,
at ShippingRatesPage.addExcludedProduct (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/shippingRatesPage.ts:50:57)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:68:3
|
deploy-dashboard
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3, actions/cache@v3, aws-actions/configure-aws-credentials@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run-tests (2/2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run-tests (1/2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
merge-reports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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-4844.dashboard.saleor.rocks
|
API_URL
https://pr-4844.staging.saleor.cloud/graphql/
|
POOL_NAME
pr-4844
|
POOL_INSTANCE
https://pr-4844.staging.saleor.cloud
|
BACKUP_NAMESPACE
snapshot-automation-tests
|
SNAPSHOT
backup_id=PWH20T5w, version=3.20.0, name=snapshot-automation-tests
|
🎭 Playwright Run Summary
1 flaky
[chromium] › shippingMethods.spec.ts:52:5 › TC: SALEOR_33 Add weight rate to shipping method - with included zip codes and excluded product @shipping-method @e2e
112 passed (4.5m)
|
🎭 Playwright Run Summary
2 skipped
111 passed (4.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
5.66 MB |
|
html-report--attempt-1
Expired
|
7.1 MB |
|