feat: add contact form page object and other corresponding locators #575
test.yml
on: pull_request
eslint
10s
Validate all commits
6s
build
15s
test-saas
4m 43s
Matrix: test
Annotations
5 errors, 1 warning, and 3 notices
[chromium] › PageObjects/AdministrationGeneral.spec.ts:3:1 › Administration page objects - General.:
tests/PageObjects/AdministrationGeneral.spec.ts#L39
1) [chromium] › PageObjects/AdministrationGeneral.spec.ts:3:1 › Administration page objects - General.
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.sw-category-detail__landing-page-collapse').getByRole('heading', { name: 'Landing pages' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.sw-category-detail__landing-page-collapse').getByRole('heading', { name: 'Landing pages' })
37 | const category = await TestDataService.createCategory();
38 | await ShopAdmin.goesTo(AdminCategories.url());
> 39 | await ShopAdmin.expects(AdminCategories.landingPageHeadline).toBeVisible();
| ^
40 | await ShopAdmin.expects(AdminCategories.getTreeItemContextButton(category.name)).toBeVisible();
41 |
42 | await ShopAdmin.goesTo(AdminLandingPageCreate.url());
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/PageObjects/AdministrationGeneral.spec.ts:39:66
|
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.:
tests/PageObjects/AdministrationSettings.spec.ts#L50
2) [chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Save' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByRole('button', { name: 'Save' })
48 |
49 | await ShopAdmin.goesTo(AdminCustomFieldCreate.url());
> 50 | await ShopAdmin.expects(AdminCustomFieldCreate.saveButton).toBeVisible();
| ^
51 |
52 | await ShopAdmin.goesTo(AdminRuleCreate.url());
53 | await ShopAdmin.expects(AdminRuleCreate.saveButton).toBeVisible();
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/PageObjects/AdministrationSettings.spec.ts:50:64
|
test-saas
Process completed with exit code 1.
|
[chromium] › PageObjects/StorefrontPageObjects.spec.ts:3:1 › Storefront page objects:
tests/PageObjects/StorefrontPageObjects.spec.ts#L47
1) [chromium] › PageObjects/StorefrontPageObjects.spec.ts:3:1 › Storefront page objects ──────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: getByLabel('I have read and accepted the general terms and conditions.')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByLabel('I have read and accepted the general terms and conditions.')
45 |
46 | await ShopCustomer.goesTo(StorefrontCheckoutConfirm.url());
> 47 | await ShopCustomer.expects(StorefrontCheckoutConfirm.termsAndConditionsCheckbox).toBeVisible();
| ^
48 |
49 | await ShopCustomer.attemptsTo(ConfirmTermsAndConditions());
50 | await ShopCustomer.attemptsTo(SubmitOrder());
at /home/runner/work/acceptance-test-suite/acceptance-test-suite/tests/PageObjects/StorefrontPageObjects.spec.ts:47:86
|
test (shopware, http://localhost:8011)
Process completed with exit code 1.
|
test (shopware-65, http://localhost:8021)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
2 failed
[chromium] › PageObjects/AdministrationGeneral.spec.ts:3:1 › Administration page objects - General.
[chromium] › PageObjects/AdministrationSettings.spec.ts:3:1 › Administration page objects - Settings.
2 skipped
18 passed (3.7m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › PageObjects/StorefrontPageObjects.spec.ts:3:1 › Storefront page objects ───────────
4 skipped
39 passed (3.6m)
|
🎭 Playwright Run Summary
4 skipped
40 passed (3.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-shopware
|
4.37 MB |
|