Skip to content

Fix update editor.js when rerender #3876

Fix update editor.js when rerender

Fix update editor.js when rerender #3876

Triggered via pull request December 16, 2024 14:39
Status Failure
Total duration 13m 4s
Artifacts 2

pr-automation.yml

on: pull_request
initialize-cloud
1m 53s
initialize-cloud
deploy-dashboard
2m 41s
deploy-dashboard
Matrix: run-tests
merge-reports
48s
merge-reports
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 2 warnings, and 9 notices
[e2e] › orders.spec.ts:325:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @refunds: playwright/pages/refundPage.ts#L103
1) [e2e] › orders.spec.ts:325:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @Refunds Error: Timed out 10000ms waiting for 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 10000ms - waiting for locator('[data-test-id="button-bar-confirm"]') 3 × locator resolved to <button disabled type="button" data-test-state="default" data-macaw-ui-component="Button" data-test-id="button-bar-confirm" class="_18fs8ps2rc _18fs8ps310 _18fs8ps280 _18fs8ps2ho _18fs8ps10 _18fs8ps1l _18fs8ps1mr _18fs8ps3 _18fs8ps3z0 _18fs8ps1zu _18fs8ps3t0 _18fs8ps3ti _18fs8ps3j0 _18fs8ps3jp _18fs8ps3jg _18fs8ps3k5 _18fs8ps3iu _18fs8ps3bo _18fs8ps3e6 _18fs8ps3uo _18fs8ps3v1 _18fs8ps3us _18fs8ps3w5 _18fs8ps3w6 _18fs8ps24o _1tm59qwi _18fs8ps29c _18fs8ps2j0 _18fs8ps2s0 _18fs8ps31o _18fs8ps1gf _18fs8ps1…>…</button> - unexpected value "Save draft" 11 × locator resolved to <button type="button" data-test-state="default" data-macaw-ui-component="Button" data-test-id="button-bar-confirm" class="_18fs8ps2rc _18fs8ps310 _18fs8ps280 _18fs8ps2ho _18fs8ps10 _18fs8ps1l _18fs8ps1mr _18fs8ps3 _18fs8ps3z0 _18fs8ps1zu _18fs8ps3t0 _18fs8ps3ti _18fs8ps3j0 _18fs8ps3jp _18fs8ps3jg _18fs8ps3k5 _18fs8ps3iu _18fs8ps3bo _18fs8ps3e6 _18fs8ps3uo _18fs8ps3v1 _18fs8ps3us _18fs8ps3w5 _18fs8ps3w6 _18fs8ps24o _1tm59qwi _18fs8ps29c _18fs8ps2j0 _18fs8ps2s0 _18fs8ps31o _18fs8ps1gf _18fs8ps1fi _18fs8…>…</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:340:22
[e2e] › orders.spec.ts:346:5 › TC: SALEOR_215 Inline discount is applied in a draft order @draft @discounts @e2e: playwright/tests/orders.spec.ts#L394
2) [e2e] › orders.spec.ts:346:5 › TC: SALEOR_215 Inline discount is applied in a draft order @draft @Discounts @e2e Error: expect(received).toEqual(expected) // deep equality Expected: "80.00" Received: "20.00" 392 | ).toFixed(2); 393 | > 394 | expect(formatPrice(finalTotal).toFixed(2)).toEqual(expectedTotal); | ^ 395 | }); 396 | 397 | test(`TC: SALEOR_216 Order type discount is applied to a draft order @draft @Discounts @e2e`, async () => { at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:394:46
[e2e] › orders.spec.ts:397:5 › TC: SALEOR_216 Order type discount is applied to a draft order @draft @discounts @e2e: playwright/tests/orders.spec.ts#L448
3) [e2e] › orders.spec.ts:397:5 › TC: SALEOR_216 Order type discount is applied to a draft order @draft @Discounts @e2e Error: expect(received).toBeGreaterThan(expected) Expected: > 20 Received: 3 446 | const finalSubTotalPrice = await ordersPage.subTotalPrice.innerText(); 447 | > 448 | expect(parseFloat(finalSubTotalPrice.slice(3))).toBeGreaterThan(20); | ^ 449 | 450 | const undiscountedOrderSubTotal = 451 | PRODUCTS.productWithPriceLowerThan20.price + PRODUCTS.productWithPriceHigherThan20.price; at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:448:51
[e2e] › orders.spec.ts:461:5 › TC: SALEOR_217 Complete basic order for non existing customer @e2e @order: playwright/tests/orders.spec.ts#L1
4) [e2e] › orders.spec.ts:461:5 › TC: SALEOR_217 Complete basic order for non existing customer @e2e @order Test timeout of 35000ms exceeded.
[e2e] › orders.spec.ts:461:5 › TC: SALEOR_217 Complete basic order for non existing customer @e2e @order: playwright/pages/basePage.ts#L115
4) [e2e] › orders.spec.ts:461:5 › TC: SALEOR_217 Complete basic order for non existing customer @e2e @order Error: locator.waitFor: Test timeout of 35000ms exceeded. Call log: - waiting for locator('[data-test-type="success"]').locator('text=finalized') to be visible at ../pages/basePage.ts:115 113 | await this.successBanner 114 | .locator(`text=${options.message}`) > 115 | .waitFor({ state: "visible", timeout: options.timeout }); | ^ 116 | } else { 117 | await this.successBanner.first().waitFor({ state: "visible", timeout: options.timeout }); 118 | } at OrdersPage.expectSuccessBanner (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:115:10) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:478:20
run-tests (2/2)
Process completed with exit code 1.
Slow Test: [e2e] › staffMemberActivation.spec.ts#L1
[e2e] › staffMemberActivation.spec.ts took 17.0s
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-5321.dashboard.saleor.rocks
API_URL
https://pr-5321.staging.saleor.cloud/graphql/
POOL_NAME
pr-5321
POOL_INSTANCE
https://pr-5321.staging.saleor.cloud
BACKUP_NAMESPACE
snapshot-automation-tests
SNAPSHOT
backup_id=D1NNDqSW, version=3.21.0a0, name=snapshot-automation-tests
SALEOR_CLOUD_SERVICE
saleor-master-staging
🎭 Playwright Run Summary
4 failed [e2e] › orders.spec.ts:325:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @Refunds [e2e] › orders.spec.ts:346:5 › TC: SALEOR_215 Inline discount is applied in a draft order @draft @Discounts @e2e [e2e] › orders.spec.ts:397:5 › TC: SALEOR_216 Order type discount is applied to a draft order @draft @Discounts @e2e [e2e] › orders.spec.ts:461:5 › TC: SALEOR_217 Complete basic order for non existing customer @e2e @order 113 passed (5.1m)
🎭 Playwright Run Summary
118 passed (5.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
26.3 MB
html-report--attempt-1 Expired
29.4 MB