[QA] Fixing flaky test: SALEOR_3 Create basic product with variant #1790
Annotations
2 errors, 2 warnings, and 1 notice
Run playwright tests:
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.
|
Run playwright tests:
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
|
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/.
|
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/
|
Run playwright tests
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)
|
Loading