fix:add new selectors for mt-text-editor #527
test.yml
on: pull_request
eslint
12s
Validate all commits
6s
build
16s
test-saas
4m 18s
Matrix: test
Annotations
15 errors, 6 warnings, and 2 notices
build:
src/page-objects/administration/CustomerGroupDetail.ts#L12
Expected 2 arguments, but got 1.
|
build
Process completed with exit code 1.
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
1) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
2) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
3) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
4) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/StorefrontPageObjects.spec.ts:3:1 › Storefront page objects:
tests/PageObjects/StorefrontPageObjects.spec.ts#L54
5) [chromium] › PageObjects/StorefrontPageObjects.spec.ts:3:1 › Storefront page objects ──────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('heading', { name: 'Overview' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('heading', { name: 'Overview' })
52 |
53 | await ShopCustomer.goesTo(StorefrontAccount.url());
> 54 | await ShopCustomer.expects(StorefrontAccount.headline).toBeVisible();
| ^
55 |
56 | await ShopCustomer.goesTo(StorefrontAccountOrder.url());
57 | await ShopCustomer.expects(StorefrontAccountOrder.orderExpandButton).toBeVisible();
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/PageObjects/StorefrontPageObjects.spec.ts:54:60
|
test (shopware, http://localhost:8011)
Process completed with exit code 1.
|
test-saas
Error: Timed out waiting 180000ms from config.webServer.
|
test-saas
Process completed with exit code 1.
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
1) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
2) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
3) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
src/page-objects/administration/CustomerGroupCreate.ts#L32
4) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
TypeError: Cannot read properties of undefined (reading 'version')
at ../src/page-objects/administration/CustomerGroupCreate.ts:32
30 | this.customSignupFormToggle = page.getByLabel('Custom signup form');
31 | this.signupFormTitle = page.locator('#sw-field--customerGroup-registrationTitle');
> 32 | if (satisfies(instanceMeta.version, '<6.7')) {
| ^
33 | this.signupFormIntroduction = page.locator('.sw-text-editor__content-editor');
34 | } else {
35 | this.signupFormIntroduction = page.locator('.mt-text-editor__content-editor');
at CustomerGroupCreate (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupCreate.ts:32:36)
at CustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/administration/CustomerGroupDetail.ts:12:9)
at Object.AdminCustomerGroupDetail (/home/runner/work/acceptance-test-suite/acceptance-test-suite/src/page-objects/AdministrationPages.ts:134:19)
|
test (shopware-65, http://localhost:8021)
Process completed with exit code 1.
|
Validate all commits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (shopware, http://localhost:8011)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-saas
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (shopware-65, http://localhost:8021)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
5 failed
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/StorefrontPageObjects.spec.ts:3:1 › Storefront page objects ───────────
4 skipped
35 passed (3.2m)
|
🎭 Playwright Run Summary
4 failed
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
4 skipped
36 passed (2.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-shopware
Expired
|
24.9 MB |
|
playwright-report-shopware-65
Expired
|
7.88 MB |
|