Run test manually #250
Annotations
7 errors, 2 warnings, and 1 notice
|
Run playwright tests:
playwright/pages/refundPage.ts#L103
1) [chromium] › orders.spec.ts:259:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @Refunds
Error: expect(locator).toHaveText(expected)
Locator: locator('[data-test-id="button-bar-confirm"]')
Expected string: "Transfer funds"
Received string: "Save draft"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[data-test-id="button-bar-confirm"]')
- locator resolved to <button disabled type="button" data-test-state="default"…>…</button>
- unexpected value "Save draft"
- locator resolved to <button disabled type="button" data-test-state="default"…>…</button>
- unexpected value "Save draft"
- locator resolved to <button disabled type="button" data-test-state="default"…>…</button>
- unexpected value "Save draft"
- locator resolved to <button disabled type="button" data-test-state="default"…>…</button>
- unexpected value "Save draft"
- locator resolved to <button disabled type="button" data-test-state="default"…>…</button>
- unexpected value "Save draft"
at ../pages/refundPage.ts:103
101 |
102 | async transferFunds() {
> 103 | await expect(this.saveButton).toHaveText("Transfer funds");
| ^
104 | await this.clickSaveButton();
105 | await this.waitForDOMToFullyLoad();
106 | }
at RefundPage.transferFunds (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/refundPage.ts:103:35)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:288:20
|
|
Run playwright tests:
playwright/pages/refundPage.ts#L56
1) [chromium] › orders.spec.ts:259:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @Refunds
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('table tr').filter({ hasText: 'Bean Juice' }).locator(getByTestId('all-button'))
- locator resolved to <button disabled type="button" data-test-id="all-button"…>All</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled - waiting...
at ../pages/refundPage.ts:56
54 | const productRow = await this.getProductRow(productName);
55 |
> 56 | await productRow.locator(this.allButton).click();
| ^
57 |
58 | const maxLineRefundQuantityText = await productRow
59 | .locator(this.maxLineRefundQuantity)
at RefundPage.pickAllProductQuantityToRefund (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/refundPage.ts:56:46)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:267:3
|
|
Run playwright tests:
playwright/pages/refundPage.ts#L56
1) [chromium] › orders.spec.ts:259:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @Refunds
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('table tr').filter({ hasText: 'Bean Juice' }).locator(getByTestId('all-button'))
- locator resolved to <button disabled type="button" data-test-id="all-button"…>All</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled - waiting...
at ../pages/refundPage.ts:56
54 | const productRow = await this.getProductRow(productName);
55 |
> 56 | await productRow.locator(this.allButton).click();
| ^
57 |
58 | const maxLineRefundQuantityText = await productRow
59 | .locator(this.maxLineRefundQuantity)
at RefundPage.pickAllProductQuantityToRefund (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/refundPage.ts:56:46)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:267:3
|
Run playwright tests
Process completed with exit code 1.
|
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-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/
|
|
Loading