Skip to content

Run test manually

Run test manually #175

Re-run triggered July 8, 2024 10:21
Status Failure
Total duration 10m 31s
Artifacts 2

run-test-manual.yml

on: workflow_dispatch
initialize-cloud
1m 42s
initialize-cloud
create-run-on-testmo
12s
create-run-on-testmo
Matrix: run-tests
tests-complete
1m 3s
tests-complete
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 8 warnings, and 9 notices
[setup] › auth.setup.ts:46:10 › Authenticate as discount user via API: playwright/tests/auth.setup.ts#L19
1) [setup] › auth.setup.ts:46:10 › Authenticate as discount user via API ───────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[setup] › auth.setup.ts:46:10 › Authenticate as discount user via API: playwright/tests/auth.setup.ts#L19
1) [setup] › auth.setup.ts:46:10 › Authenticate as discount user via API ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[setup] › auth.setup.ts:46:10 › Authenticate as discount user via API: playwright/tests/auth.setup.ts#L19
1) [setup] › auth.setup.ts:46:10 › Authenticate as discount user via API ───────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[setup] › auth.setup.ts:46:10 › Authenticate as shipping user via API: playwright/tests/auth.setup.ts#L19
2) [setup] › auth.setup.ts:46:10 › Authenticate as shipping user via API ───────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
run-tests (1/2)
Process completed with exit code 1.
[setup] › auth.setup.ts:46:10 › Authenticate as customer user via API: playwright/tests/auth.setup.ts#L19
1) [setup] › auth.setup.ts:46:10 › Authenticate as customer user via API ───────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[setup] › auth.setup.ts:46:10 › Authenticate as page user via API: playwright/tests/auth.setup.ts#L19
2) [setup] › auth.setup.ts:46:10 › Authenticate as page user via API ───────────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[setup] › auth.setup.ts:46:10 › Authenticate as productTypeAndAttribute user via API: playwright/tests/auth.setup.ts#L19
3) [setup] › auth.setup.ts:46:10 › Authenticate as productTypeAndAttribute user via API ────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[setup] › auth.setup.ts:46:10 › Authenticate as productTypeAndAttribute user via API: playwright/tests/auth.setup.ts#L19
3) [setup] › auth.setup.ts:46:10 › Authenticate as productTypeAndAttribute user via API ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'value') 17 | { 18 | name: "_saleorRefreshToken", > 19 | value: loginJsonInfo.cookies[0].value, | ^ 20 | } 21 | ] 22 | }); at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:19:49) at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:34:9) at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:47:9
[chromium] › pageTypes.spec.ts:9:5 › TC: SALEOR_187 As an admin user I can create page type @e2e @page-type: playwright/tests/pageTypes.spec.ts#L21
4) [chromium] › pageTypes.spec.ts:9:5 › TC: SALEOR_187 As an admin user I can create page type @e2e @page-type Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('page-types-list') Expected string: "e2e-page-type-6593" Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for getByTestId('page-types-list') 19 | await expect(pageTypePage.nameInput).toHaveValue(pageTypeName); 20 | await pageTypePage.gotoPageTypeListPage(); > 21 | await expect(pageTypePage.pageTypeList).toContainText(pageTypeName); | ^ 22 | }); 23 | 24 | test("TC: SALEOR_188 As an admin user I can update page type@e2e @page-type", async ({ at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/pageTypes.spec.ts:21:43
[chromium] › pageTypes.spec.ts:58:5 › TC: SALEOR_190 As an admin user I can delete several page types@e2e @page-type: playwright/tests/pageTypes.spec.ts#L67
5) [chromium] › pageTypes.spec.ts:58:5 › TC: SALEOR_190 As an admin user I can delete several page types@e2e @page-type Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('page-types-list') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('page-types-list') 65 | 66 | await pageTypePage.gotoPageTypeListPage(); > 67 | await expect(pageTypePage.pageTypeList).toBeVisible(); | ^ 68 | await pageTypePage.checkPageTypesOnList(rowsToBeDeleted); 69 | await pageTypePage.clickBulkDeleteButton(); 70 | await pageTypePage.deletePageTypeDialog.waitForDOMToFullyLoad(); at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/pageTypes.spec.ts:67:43
create-run-on-testmo
The following actions uses Node.js version which is deprecated 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 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/
run-tests (2/2)
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/
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-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/
tests-complete
The following actions uses Node.js version which is deprecated 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/
BASE_URL
https://v319.staging.saleor.cloud/dashboard/
API_URL
https://v319.staging.saleor.cloud/graphql/
POOL_NAME
3.19 Staging
POOL_INSTANCE
https://v319.staging.saleor.cloud/
BACKUP_NAMESPACE
snapshot-automation-tests-3.19
SNAPSHOT
backup_id=fXxB2CC7, version=3.19.53, name=snapshot-automation-tests-3.19
SALEOR_CLOUD_SERVICE
saleor-master-staging
🎭 Playwright Run Summary
1 failed [setup] › auth.setup.ts:46:10 › Authenticate as discount user via API ────────────────────────── 1 flaky [setup] › auth.setup.ts:46:10 › Authenticate as shipping user via API ────────────────────────── 100 did not run 13 passed (7.5s)
🎭 Playwright Run Summary
5 flaky [setup] › auth.setup.ts:46:10 › Authenticate as customer user via API ────────────────────────── [setup] › auth.setup.ts:46:10 › Authenticate as page user via API ────────────────────────────── [setup] › auth.setup.ts:46:10 › Authenticate as productTypeAndAttribute user via API ─────────── [chromium] › pageTypes.spec.ts:9:5 › TC: SALEOR_187 As an admin user I can create page type @e2e @page-type [chromium] › pageTypes.spec.ts:58:5 › TC: SALEOR_190 As an admin user I can delete several page types@e2e @page-type 1 skipped 108 passed (4.6m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
4.5 MB
html-report--attempt-2 Expired
6.1 MB