Skip to content

Run test manually

Run test manually #277

Manually triggered October 15, 2024 10:12
Status Failure
Total duration 6m 10s
Artifacts 2

run-test-manual.yml

on: workflow_dispatch
initialize-cloud
28s
initialize-cloud
create-run-on-testmo
14s
create-run-on-testmo
Matrix: run-tests
tests-complete
53s
tests-complete
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 8 warnings, and 9 notices
initialize-cloud
Process completed with exit code 1.
[setup] › auth.setup.ts:51:6 › Authenticate as admin via API: playwright/tests/auth.setup.ts#L26
1) [setup] › auth.setup.ts:51:6 › Authenticate as admin via API ────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 24 | { 25 | name: "_saleorRefreshToken", > 26 | value: loginJsonInfo.cookies[0].value, | ^ 27 | }, 28 | ], 29 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:26:41) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:5) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:52:3
run-tests (1/2)
Process completed with exit code 1.
[e2e] › orders.spec.ts:260:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @refunds: playwright/tests/orders.spec.ts#L1
1) [e2e] › orders.spec.ts:260:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @Refunds Test timeout of 90000ms exceeded.
[e2e] › orders.spec.ts:260:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @refunds: playwright/pages/refundPage.ts#L56
1) [e2e] › orders.spec.ts:260:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @Refunds Error: locator.click: Test timeout of 90000ms 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:272:3
[e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in FAILURE status @e2e @refunds: playwright/tests/orders.spec.ts#L1
2) [e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in FAILURE status @e2e @Refunds Test timeout of 30000ms exceeded.
[e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in FAILURE status @e2e @refunds: playwright/pages/ordersPage.ts#L141
2) [e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in FAILURE status @e2e @Refunds Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByTestId('refund-list').locator('tr').filter({ hasText: 'FAILURE' }).locator(getByTestId('edit-refund-button').locator('button')) at ../pages/ordersPage.ts:141 139 | const refund = this.orderRefundList.locator("tr").filter({ hasText: refundInfo }); 140 | > 141 | await refund.locator(this.editRefundButton).click(); | ^ 142 | await this.waitForDOMToFullyLoad(); 143 | } 144 | at OrdersPage.clickEditRefundButton (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/ordersPage.ts:141:49) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:334:22
[e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @refunds: playwright/tests/orders.spec.ts#L1
3) [e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @Refunds Test timeout of 30000ms exceeded.
[e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @refunds: playwright/pages/ordersPage.ts#L141
3) [e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @Refunds Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByTestId('refund-list').locator('tr').filter({ hasText: 'DRAFT' }).locator(getByTestId('edit-refund-button').locator('button')) at ../pages/ordersPage.ts:141 139 | const refund = this.orderRefundList.locator("tr").filter({ hasText: refundInfo }); 140 | > 141 | await refund.locator(this.editRefundButton).click(); | ^ 142 | await this.waitForDOMToFullyLoad(); 143 | } 144 | at OrdersPage.clickEditRefundButton (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/ordersPage.ts:141:49) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:334:22
[e2e] › orders.spec.ts:344:5 › TC: SALEOR_215 Inline discount is applied in a draft order @draft @discounts @e2e: playwright/tests/orders.spec.ts#L355
4) [e2e] › orders.spec.ts:344:5 › TC: SALEOR_215 Inline discount is applied in a draft order @draft @Discounts @e2e Error: expect(received).toContain(expected) // indexOf Expected substring: "20" Received string: "PLN80.00" 353 | const initialTotal = await ordersPage.orderSummary.locator(ordersPage.totalPrice).innerText(); 354 | > 355 | expect(initialTotal).toContain(productAlreadyInBasket.price.toString()); | ^ 356 | await draftOrdersPage.clickAddProductsButton(); 357 | await draftOrdersPage.addProductsDialog.searchForProductInDialog(discountedProduct.name); 358 | await draftOrdersPage.addProductsDialog.selectVariantBySKU(discountedProduct.variant.sku); at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/orders.spec.ts:355:24
[e2e] › pageTypes.spec.ts:22:5 › TC: SALEOR_188 As an admin user I can update page type@e2e @page-type: playwright/pages/dialogs/assignAttributeDialog.ts#L19
5) [e2e] › pageTypes.spec.ts:22:5 › TC: SALEOR_188 As an admin user I can update page type@e2e @page-type Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('attributes-list') Expected string: "Attribute to be assigned to page type" Received string: "No results found" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('attributes-list') - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "e2e content attribute to be updatedcontentAttributeWithValuesToBeUpdatedupdated e2e content attribute to be updated 2e2e-content-attribute-to-be-updated-2PAGE_TYPE - BooleanPAGE_TYPE-Boolean-b37a93bc-98fb-4a9f-a80b-4a8eb4a414fcPAGE_TYPE - BooleanPAGE_TYPE-Boolean-d8f8fa05-e741-4a24-8bf8-7709c5e8c0a7PAGE_TYPE - DatePAGE_TYPE-Date-c26fa55f-3028-49e3-b310-f65384067ca9PAGE_TYPE - DatePAGE_TYPE-Date-f2ba14c7-2cde-4a8c-9a52-f2f3493f42e1PAGE_TYPE - Date TimePAGE_TYPE-Date-Time-54b4cdb4-8a8d-41b8-bc4f-abc7f1328a81PAGE_TYPE - Date TimePAGE_TYPE-Date-Time-dd41c00c-c2aa-43e8-87d7-bb9d66aab3daPAGE_TYPE - DropdownPAGE_TYPE-Dropdown-68075468-d16b-4646-9032-ab83ba5fec1dPAGE_TYPE - DropdownPAGE_TYPE-Dropdown-902eeb69-8718-43bf-9ddb-846e860329c7PAGE_TYPE - FilePAGE_TYPE-File-b37a93bc-98fb-4a9f-a80b-4a8eb4a414fcPAGE_TYPE - FilePAGE_TYPE-File-c26fa55f-3028-49e3-b310-f65384067ca9PAGE_TYPE - Multiple SelectPAGE_TYPE-Multiple-Select-68075468-d16b-4646-9032-ab83ba5fec1dPAGE_TYPE - Multiple SelectPAGE_TYPE-Multiple-Select-d3a47318-2605-46e8-bf22-aef8c48015faPAGE_TYPE - NumericPAGE_TYPE-Numeric-d8f8fa05-e741-4a24-8bf8-7709c5e8c0a7PAGE_TYPE - NumericPAGE_TYPE-Numeric-f2ba14c7-2cde-4a8c-9a52-f2f3493f42e1PAGE_TYPE - REFERENCES for PagePAGE_TYPE-Page-6cc35245-45b9-4d0f-a10c-5eb8c32cbd75PAGE_TYPE - REFERENCES for PagePAGE_TYPE-Page-f160de05-4908-4581-81cd-83d7ba790780PAGE_TYPE - Plain TextPAGE_TYPE-Plain-Text-e8007626-4f97-41a1-8068-b62b38ac37e9PAGE_TYPE - Plain TextPAGE_TYPE-Plain-Text-f63fc047-16c9-49da-a409-d2882f295c66" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "e2e content attribute to be updatedcontentAttributeWithValuesToBeUpdatedupdated e2e content attribute to be updated 2e2e-content-attribute-to-be-updated-2PAGE_TYPE - BooleanPAGE_TYPE-Boolean-b37a93bc-98fb-4a9f-a80b-4a8eb4a414fcPAGE_TYPE - BooleanPAGE_TYPE-Boolean-d8f8fa05-e741-4a24-8bf8-7709c5e8c0a7PAGE_TYPE - DatePAGE_TYPE-Date-c26fa55f-3028-49e3-b310-f65384067ca9PAGE_TYPE - DatePAGE_TYPE-Date-f2ba14c7-2cde-4a8c-9a52-f2f3493f42e1PAGE_TYPE - Date TimePAGE_TYPE-Date-Time-54b4cdb4-8a8d-41b8-bc4f-abc7f1328a81PAGE_TYPE - Date TimePAGE_TYPE-Date-Time-dd41c00c-c2aa-43e8-87d7-bb9d66aab3daPAGE_TYPE - DropdownPAGE_TYPE-Dropdown-68075468-d16b-4646-9032-ab83ba5fec1dPAGE_TYPE - DropdownPAGE_TYPE-Dropdown-902eeb69-8718-43bf-9ddb-846e860329c7PAGE_TYPE - FilePAGE_TYPE-File-b37a93bc-98fb-4a9f-a80b-4a8eb4a414fcPAGE_TYPE - FilePAGE_TYPE-File-c26fa55f-3028-49e3-b310-f65384067ca9PAGE_TYPE - Multiple SelectPAGE_TYPE-Multiple-Select-68075468-d16b-4646-9032-ab83ba5fec1dPAGE_TYPE - Multiple SelectPAGE_TYPE-Multiple-Select-d3a47318-2605-46e8-bf22-aef8c48015faPAGE_TYPE - NumericPAGE_TYPE-Numeric-d8f8fa05-e741-4a24-8bf8-7709c5e8c0a7PAGE_TYPE - NumericPAGE_TYPE-Numeric-f2ba14c7-2cde-4a8c-9a52-f2f3493f42e1PAGE_TYPE - REFERENCES for PagePAGE_TYPE-Page-6cc35245-45b9-4d0f-a10c-5eb8c32cbd75PAGE_TYPE - REFERENCES for PagePAGE_TYPE-Page-f160de05-4908-4581-81cd-83d7ba790780PAGE_TYPE - Plain TextPAGE_TYPE-Plain-Text-e8007626-4f97-41a1-8068-b62b38ac37e9PAGE_TYPE - Plain TextPAGE_TYPE-Plain-Text-f63fc047-16c9-49da-a409-d2882f295c66" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "e2e content attribute to be updatedcontentAttributeWithValuesToBeUpdatedupdated e2e content attribute to be updated 2e2e-content-attribute-to-be-updated-2PAGE_TYPE - BooleanPAGE_TYPE-Boolean-b37a93bc-98fb-4a9f-a80b-4a8eb4a414fcPAG
[e2e] › pageTypes.spec.ts:36:5 › TC: SALEOR_189 As an admin user I can delete page type with assigned content@e2e @page-type: playwright/tests/pageTypes.spec.ts#L1
6) [e2e] › pageTypes.spec.ts:36:5 › TC: SALEOR_189 As an admin user I can delete page type with assigned content@e2e @page-type Test timeout of 30000ms exceeded.
[e2e] › pageTypes.spec.ts:36:5 › TC: SALEOR_189 As an admin user I can delete page type with assigned content@e2e @page-type: playwright/pages/dialogs/deleteDialog.ts#L20
6) [e2e] › pageTypes.spec.ts:36:5 › TC: SALEOR_189 As an admin user I can delete page type with assigned content@e2e @page-type Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByTestId('delete-assigned-items-consent') at ../pages/dialogs/deleteDialog.ts:20 18 | 19 | async clickConfirmDeletionCheckbox() { > 20 | await this.confirmDeletionCheckbox.click(); | ^ 21 | } 22 | 23 | async clickConfirmDeleteButton() { at DeleteDialog.clickConfirmDeletionCheckbox (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/dialogs/deleteDialog.ts:20:40) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/pageTypes.spec.ts:45:43
create-run-on-testmo
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-tests (1/2)
The following actions use a deprecated Node.js version 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/
run-tests (2/2)
The following actions use a deprecated Node.js version 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/
tests-complete
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests-complete
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests-complete
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests-complete
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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://v320.staging.saleor.cloud/dashboard/
API_URL
https://v320.staging.saleor.cloud/graphql/
POOL_NAME
3.20 Staging
POOL_INSTANCE
https://v320.staging.saleor.cloud/
BACKUP_NAMESPACE
snapshot-automation-tests-3.20
SNAPSHOT
backup_id=a3QvCLnf, version=3.20.33, name=snapshot-automation-tests-3.20
SALEOR_CLOUD_SERVICE
saleor-master-staging
🎭 Playwright Run Summary
1 failed [setup] › auth.setup.ts:51:6 › Authenticate as admin via API ─────────────────────────────────── 118 did not run
🎭 Playwright Run Summary
10 failed [e2e] › orders.spec.ts:260:5 › TC: SALEOR_191 Refund products from the fully paid order @e2e @Refunds [e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in FAILURE status @e2e @Refunds [e2e] › orders.spec.ts:324:7 › TC: SALEOR_193 Update order with non-manual refund in DRAFT status @e2e @Refunds [e2e] › orders.spec.ts:344:5 › TC: SALEOR_215 Inline discount is applied in a draft order @draft @Discounts @e2e [e2e] › pageTypes.spec.ts:22:5 › TC: SALEOR_188 As an admin user I can update page type@e2e @page-type [e2e] › pageTypes.spec.ts:36:5 › TC: SALEOR_189 As an admin user I can delete page type with assigned content@e2e @page-type [e2e] › pageTypes.spec.ts:51:5 › TC: SALEOR_190 As an admin user I can delete several page types@e2e @page-type [e2e] › permissionGroup.spec.ts:81:5 › TC: SALEOR_134 Should be able to edit existing permission group @permissions @e2e [e2e] › permissionGroup.spec.ts:164:5 › TC: SALEOR_135 Should be able to delete single permission group @permissions @e2e [e2e] › product.spec.ts:132:5 › TC: SALEOR_46 As an admin, I should be able to update a product by uploading media, assigning channels, assigning tax, and adding a new variant @basic-regression @Product @e2e 3 interrupted [e2e] › product.spec.ts:70:5 › TC: SALEOR_27 Create full info variant - via edit variant page @e2e @Product [e2e] › product.spec.ts:100:5 › TC: SALEOR_44 As an admin I should be able to delete a several products @basic-regression @Product @e2e [e2e] › product.spec.ts:117:5 › TC: SALEOR_45 As an admin I should be able to delete a single products @basic-regression @Product @e2e 81 did not run 24 passed (2.3m)

Artifacts

Produced during runtime
Name Size Digest
all-blob-reports Expired
33.4 MB
html-report--attempt-1 Expired
36.3 MB