Run test by cron #113
run-test-cron.yml
on: schedule
Annotations
4 errors, 8 warnings, and 9 notices
[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 (2/2)
Process completed with exit code 1.
|
[e2e] › navigation.spec.ts:52:5 › TC: SALEOR_198 Should update existing menu @navigation @e2e:
playwright/pages/dialogs/addNavigationMenuItemDialog.ts#L31
1) [e2e] › navigation.spec.ts:52:5 › TC: SALEOR_198 Should update existing menu @navigation @e2e ─
Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByTestId('menu-item-link-value-input')
Expected string: "Polo Shirts"
Received string: "Groceries"
Call log:
- expect.toHaveValue with timeout 10000ms
- waiting for getByTestId('menu-item-link-value-input')
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
- locator resolved to <input type="text" role="combobox" name="linkValue" val…/>
- unexpected value "Groceries"
at ../pages/dialogs/addNavigationMenuItemDialog.ts:31
29 | await this.menuLinkOptions.filter({ hasText: optionName }).click({ force: true });
30 | await this.waitForDOMToFullyLoad();
> 31 | await expect(this.menuLinkValue).toHaveValue(optionName);
| ^
32 | }
33 |
34 | async typeMenuItemName(name: string) {
at AddNavigationMenuItemDialog.selectLinkOption (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/dialogs/addNavigationMenuItemDialog.ts:31:38)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/navigation.spec.ts:61:3
|
run-tests (1/2)
Process completed with exit code 1.
|
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 (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/
|
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/
|
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://automation-dashboard.staging.saleor.cloud/dashboard/
|
API_URL
https://automation-dashboard.staging.saleor.cloud/graphql/
|
POOL_NAME
automation-dashboard
|
POOL_INSTANCE
https://automation-dashboard.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
1 failed
[setup] › auth.setup.ts:64:8 › Authenticate as app user via API ────────────────────────────────
116 did not run
1 passed (3.6s)
|
🎭 Playwright Run Summary
1 failed
[e2e] › navigation.spec.ts:52:5 › TC: SALEOR_198 Should update existing menu @navigation @e2e ──
117 passed (5.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
2.93 MB |
|
html-report--attempt-1
Expired
|
4.58 MB |
|