Run test manually #247
Annotations
10 errors, 2 warnings, and 1 notice
Run playwright tests:
playwright/tests/shippingMethods.spec.ts#L86
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: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('price-based-rates')
Expected string: "shippingMEthod_to-be-deleted"
Received string: "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('price-based-rates')
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
84 | SHIPPING_METHODS.shippingMethodWithRatesToBeDeleted.rates.priceBasedRateToBeDeleted.name;
85 |
> 86 | await expect(shippingMethodsPage.priceBasedRatesSection).toContainText(priceBasedRate);
| ^
87 | await shippingMethodsPage.clickDeletePriceBasedShippingMethod();
88 | await shippingMethodsPage.deleteShippingMethodDialog.clickDeleteButton();
89 | await shippingMethodsPage.expectSuccessBanner();
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:86:60
|
Run playwright tests:
playwright/tests/shippingMethods.spec.ts#L86
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: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('price-based-rates')
Expected string: "shippingMEthod_to-be-deleted"
Received string: "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('price-based-rates')
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
84 | SHIPPING_METHODS.shippingMethodWithRatesToBeDeleted.rates.priceBasedRateToBeDeleted.name;
85 |
> 86 | await expect(shippingMethodsPage.priceBasedRatesSection).toContainText(priceBasedRate);
| ^
87 | await shippingMethodsPage.clickDeletePriceBasedShippingMethod();
88 | await shippingMethodsPage.deleteShippingMethodDialog.clickDeleteButton();
89 | await shippingMethodsPage.expectSuccessBanner();
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:86:60
|
Run playwright tests:
playwright/tests/shippingMethods.spec.ts#L86
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: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByTestId('price-based-rates')
Expected string: "shippingMEthod_to-be-deleted"
Received string: "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('price-based-rates')
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
- locator resolved to <div data-test-id="price-based-rates" class="_18fs8ps…>…</div>
- unexpected value "Price Based RatesCreate rateNameValue RangePriceNo shipping rates found"
84 | SHIPPING_METHODS.shippingMethodWithRatesToBeDeleted.rates.priceBasedRateToBeDeleted.name;
85 |
> 86 | await expect(shippingMethodsPage.priceBasedRatesSection).toContainText(priceBasedRate);
| ^
87 | await shippingMethodsPage.clickDeletePriceBasedShippingMethod();
88 | await shippingMethodsPage.deleteShippingMethodDialog.clickDeleteButton();
89 | await shippingMethodsPage.expectSuccessBanner();
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:86:60
|
Run playwright tests:
playwright/pages/basePage.ts#L113
2) [chromium] › shippingMethods.spec.ts:93:5 › TC: SALEOR_35 Delete a single shipping rate from its details page @shipping-method @e2e
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 ShippingMethodsPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:113:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:103:29
|
Run playwright tests:
playwright/pages/basePage.ts#L113
2) [chromium] › shippingMethods.spec.ts:93:5 › TC: SALEOR_35 Delete a single shipping rate from its details page @shipping-method @e2e
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 ShippingMethodsPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:113:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:103:29
|
Run playwright tests:
playwright/pages/basePage.ts#L113
2) [chromium] › shippingMethods.spec.ts:93:5 › TC: SALEOR_35 Delete a single shipping rate from its details page @shipping-method @e2e
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 ShippingMethodsPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:113:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:103:29
|
Run playwright tests:
playwright/pages/basePage.ts#L274
3) [chromium] › shippingMethods.spec.ts:109:5 › TC: SALEOR_36 Delete shipping zones in bulk @shipping-method @e2e
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 3
at ../pages/basePage.ts:274
272 | await this.clickGridCell(0, rowIndex);
273 | }
> 274 | await expect(searchText.length).toEqual(rowIndexes.length);
| ^
275 | }
276 |
277 | async clickListRowBasedOnContainingText(searchText: string) {
at ShippingMethodsPage.checkListRowsBasedOnContainingText (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:274:37)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:115:3
|
Run playwright tests:
playwright/pages/basePage.ts#L274
3) [chromium] › shippingMethods.spec.ts:109:5 › TC: SALEOR_36 Delete shipping zones in bulk @shipping-method @e2e
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 3
at ../pages/basePage.ts:274
272 | await this.clickGridCell(0, rowIndex);
273 | }
> 274 | await expect(searchText.length).toEqual(rowIndexes.length);
| ^
275 | }
276 |
277 | async clickListRowBasedOnContainingText(searchText: string) {
at ShippingMethodsPage.checkListRowsBasedOnContainingText (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:274:37)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:115:3
|
Run playwright tests:
playwright/pages/basePage.ts#L274
3) [chromium] › shippingMethods.spec.ts:109:5 › TC: SALEOR_36 Delete shipping zones in bulk @shipping-method @e2e
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 3
at ../pages/basePage.ts:274
272 | await this.clickGridCell(0, rowIndex);
273 | }
> 274 | await expect(searchText.length).toEqual(rowIndexes.length);
| ^
275 | }
276 |
277 | async clickListRowBasedOnContainingText(searchText: string) {
at ShippingMethodsPage.checkListRowsBasedOnContainingText (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:274:37)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:115:3
|
Run playwright tests:
playwright/tests/shippingMethods.spec.ts#L1
4) [chromium] › shippingMethods.spec.ts:124:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
Test timeout of 90000ms exceeded.
|
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, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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
4 failed
[chromium] › shippingMethods.spec.ts:76:5 › TC: SALEOR_34 Delete a single shipping rate from the shipping zone details page @shipping-method @e2e
[chromium] › shippingMethods.spec.ts:93:5 › TC: SALEOR_35 Delete a single shipping rate from its details page @shipping-method @e2e
[chromium] › shippingMethods.spec.ts:109:5 › TC: SALEOR_36 Delete shipping zones in bulk @shipping-method @e2e
[chromium] › shippingMethods.spec.ts:124:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
3 interrupted
[chromium] › singlePermissions/readonlyAppAccess.spec.ts:14:7 › TC: SALEOR_131 User with settings permissions should have readonly access to Apps @e2e @APPP
[chromium] › singlePermissions/readonlyAppAccess.spec.ts:14:7 › TC: SALEOR_131 User with staff permissions should have readonly access to Apps @e2e @APPP
[chromium] › singlePermissions/readonlyAppAccess.spec.ts:14:7 › TC: SALEOR_131 User with shipping permissions should have readonly access to Apps @e2e @APPP
32 did not run
78 passed (4.2m)
|
Loading