Run test manually #238
run-test-manual.yml
on: workflow_dispatch
Annotations
14 errors, 8 warnings, and 9 notices
[chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer:
playwright/tests/customers.spec.ts#L195
1) [chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('address-card').filter({ hasText: 'Test' }).locator(getByTestId('address-type-title'))
Expected string: "Default Billing Address"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('address-card').filter({ hasText: 'Test' }).locator(getByTestId('address-type-title'))
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
- locator resolved to <div class="MuiCardHeader-root" data-test-id="address…>…</div>
- unexpected value ""
193 | await addressesListPage.clickShowMoreMenu(CUSTOMERS.editCustomer.additionalAddress.lastName);
194 | await addressesListPage.setAsDeafultBillingAddress();
> 195 | await expect(additionalAddressCard.locator(addressesListPage.addressTypeTitle)).toHaveText(
| ^
196 | "Default Billing Address",
197 | );
198 | });
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/customers.spec.ts:195:83
|
[chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer:
playwright/tests/customers.spec.ts#L1
1) [chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer:
playwright/pages/addressesListPage.ts#L35
1) [chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('address-card').filter({ hasText: 'to-be-edited' }).locator(getByTestId('show-more-button'))
at ../pages/addressesListPage.ts:35
33 | .filter({ hasText: addressPart })
34 | .locator(this.showMoreMenuButton)
> 35 | .click();
| ^
36 | }
37 |
38 | async clickManageAddresses() {
at AddressesListPage.clickShowMoreMenu (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/addressesListPage.ts:35:8)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/customers.spec.ts:172:27
|
[chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer:
playwright/tests/customers.spec.ts#L1
1) [chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer:
playwright/pages/addressesListPage.ts#L35
1) [chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('address-card').filter({ hasText: 'to-be-edited' }).locator(getByTestId('show-more-button'))
at ../pages/addressesListPage.ts:35
33 | .filter({ hasText: addressPart })
34 | .locator(this.showMoreMenuButton)
> 35 | .click();
| ^
36 | }
37 |
38 | async clickManageAddresses() {
at AddressesListPage.clickShowMoreMenu (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/addressesListPage.ts:35:8)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/customers.spec.ts:172:27
|
[setup] › auth.setup.ts:49:10 › Authenticate as staff user via API:
playwright/tests/auth.setup.ts#L22
2) [setup] › auth.setup.ts:49:10 › Authenticate as staff user via API ────────────────────────────
TypeError: Cannot read properties of undefined (reading 'value')
20 | {
21 | name: "_saleorRefreshToken",
> 22 | value: loginJsonInfo.cookies[0].value,
| ^
23 | }
24 | ]
25 | });
at authenticateAndSaveState (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:22:49)
at authSetup (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:37:9)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/auth.setup.ts:50:9
|
run-tests (1/2)
Process completed with exit code 1.
|
[chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e:
playwright/pages/pageElements/rightSideDetailsSection.ts#L100
1) [chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
Error: Timed out 30000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('channel-section').getByText('Channel-PLN')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for getByTestId('channel-section').getByText('Channel-PLN')
at ../pages/pageElements/rightSideDetailsSection.ts:100
98 | async expectOptionsSelected(section: Locator, names: string[]) {
99 | for (const name of names) {
> 100 | await expect(section.getByText(name)).toBeVisible({ timeout: 30000 });
| ^
101 | }
102 | }
103 | async typeAndSelectSingleWarehouseShippingPage(warehouse = "Europe") {
at RightSideDetailsPage.expectOptionsSelected (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/pageElements/rightSideDetailsSection.ts:100:45)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:159:3
|
[chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e:
playwright/tests/shippingMethods.spec.ts#L1
1) [chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e:
playwright/pages/pageElements/rightSideDetailsSection.ts#L114
1) [chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByTestId('select-option').filter({ hasText: 'Americas' }).first()
at ../pages/pageElements/rightSideDetailsSection.ts:114
112 | await this.selectWarehouseShippingMethodButton.fill(warehouse);
113 |
> 114 | await this.selectOption.filter({ hasText: warehouse }).first().click();
| ^
115 | }
116 | this.clickWarehouseSelectShippingPage();
117 | }
at RightSideDetailsPage.typeAndSelectMultipleWarehousesShippingPage (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/pageElements/rightSideDetailsSection.ts:114:70)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:151:3
|
[chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e:
playwright/tests/shippingMethods.spec.ts#L1
1) [chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e:
playwright/pages/pageElements/rightSideDetailsSection.ts#L114
1) [chromium] › shippingMethods.spec.ts:131:5 › TC: SALEOR_37 Update a shipping method @shipping-method @e2e
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByTestId('select-option').filter({ hasText: 'Americas' }).first()
at ../pages/pageElements/rightSideDetailsSection.ts:114
112 | await this.selectWarehouseShippingMethodButton.fill(warehouse);
113 |
> 114 | await this.selectOption.filter({ hasText: warehouse }).first().click();
| ^
115 | }
116 | this.clickWarehouseSelectShippingPage();
117 | }
at RightSideDetailsPage.typeAndSelectMultipleWarehousesShippingPage (/home/runner/work/saleor-dashboard/saleor-dashboard/playwright/pages/pageElements/rightSideDetailsSection.ts:114:70)
at /home/runner/work/saleor-dashboard/saleor-dashboard/playwright/tests/shippingMethods.spec.ts:151:3
|
[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
2) [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-35787"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByTestId('page-types-list')
- locator resolved to <tbody class="MuiTableBody-root" data-test-id="page-typ…>…</tbody>
- unexpected value ""
- locator resolved to <tbody class="MuiTableBody-root" data-test-id="page-typ…>…</tbody>
- unexpected value ""
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
|
run-tests (2/2)
Process completed with exit code 1.
|
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/
|
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/
|
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://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
[chromium] › customers.spec.ts:169:5 › TC: SALEOR_209 As an admin I want to update customer's address and set it as default billing @e2e @customer
1 flaky
[setup] › auth.setup.ts:49:10 › Authenticate as staff user via API ─────────────────────────────
1 skipped
112 passed (6.4m)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
20.2 MB |
|
html-report--attempt-1
Expired
|
27.4 MB |
|