Skip to content

Run test manually

Run test manually #273

Manually triggered October 14, 2024 09:14
Status Failure
Total duration 6m 24s
Artifacts 2

run-test-manual.yml

on: workflow_dispatch
initialize-cloud
42s
initialize-cloud
create-run-on-testmo
12s
create-run-on-testmo
Matrix: run-tests
tests-complete
49s
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:64:8 › Authenticate as app user via API: playwright/tests/auth.setup.ts#L26
1) [setup] › auth.setup.ts:64:8 › Authenticate as app user 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:65:5
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 deletedcontentAttributeToBeDeletede2e content attribute to be updatedcontentAttributeWithValuesToBeUpdatede2e attribute to be bulk deleted 2/3e2e-attribute-to-be-bulk-deleted-23e2e attribute to be bulk deleted 3/3e2e-attribute-to-be-bulk-deleted-33e2e content attribute to be updated 2e2e-content-attribute-to-be-updated-2" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "e2e content attribute to be deletedcontentAttributeToBeDeletede2e content attribute to be updatedcontentAttributeWithValuesToBeUpdatede2e attribute to be bulk deleted 2/3e2e-attribute-to-be-bulk-deleted-23e2e attribute to be bulk deleted 3/3e2e-attribute-to-be-bulk-deleted-33e2e content attribute to be updated 2e2e-content-attribute-to-be-updated-2" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "e2e content attribute to be deletedcontentAttributeToBeDeletede2e content attribute to be updatedcontentAttributeWithValuesToBeUpdatede2e attribute to be bulk deleted 2/3e2e-attribute-to-be-bulk-deleted-23e2e attribute to be bulk deleted 3/3e2e-attribute-to-be-bulk-deleted-33e2e content attribute to be updated 2e2e-content-attribute-to-be-updated-2" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…></tbody> - unexpected value "" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" - locator resolved to <tbody class="MuiTableBody-root" data-test-id="attribut…>…</tbody> - unexpected value "No results found" at ../pages/dialogs/assignAttributeDialog.ts:19 17 | async searchAttribute(attributeName: string) { 18 | await this.assignAttributesSearchInput.fill(attributeName); > 19 | await expect(this.attributesList).toContainText(attributeName); | ^ 20 | } 21 | 22 | async clickAssignAndSaveButton() { at AssignAttributeDialog.searchAttribute (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/dialogs/assignAttributeDialog.ts:19:39) at AssignAttributeDialog.assignSpecificAttributeByNameAndSave (/home/runner/work/saleor-dashb
[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/basePage.ts#L64
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 locator('[data-test-id="button-bar-delete"]') at ../pages/basePage.ts:64 62 | 63 | async clickDeleteButton() { > 64 | await this.deleteButton.click(); | ^ 65 | } 66 | 67 | async clickSubmitButton() { at PageTypesPage.clickDeleteButton (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/basePage.ts:64:29) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/pageTypes.spec.ts:43:22
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:64:8 › Authenticate as app user via API ──────────────────────────────── 117 did not run 1 passed (4.9s)
🎭 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
all-blob-reports Expired
34.3 MB
html-report--attempt-1
37.2 MB