Skip to content

CQ-4358921 include only cypress ui tests #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
64 changes: 32 additions & 32 deletions README.md

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/main/archetype/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,3 @@ reports/

# Others
dispatcher/src/conf.d/variables/default.vars
ui.tests.wdio/test-module/assets/form/themes/**/*diff.png
ui.tests.wdio/test-module/assets/form/themes/**/*current.png
25 changes: 13 additions & 12 deletions src/main/archetype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ The main parts of the template are:
* [ui.content:](ui.content/README.md) contains sample content using the components from the ui.apps
* ui.config: contains runmode specific OSGi configs for the project
* [ui.frontend:](ui.frontend.general/README.md) an optional dedicated front-end build mechanism (Angular, React or general Webpack project)
* [ui.tests.cypress:](ui.tests.cypress/README.md) Cypress based UI tests
* [ui.tests.wdio:](ui.tests.wdio/README.md) Selenium based UI tests
* [ui.tests:](ui.tests/README.md) Cypress based UI tests (for other frameworks check [aem-test-samples](https://github.com/adobe/aem-test-samples) repository
* all: a single content package that embeds all of the compiled modules (bundles and content packages) including any vendor dependencies
* analyse: this module runs analysis on the project which provides additional validation for deploying into AEMaaCS

Expand Down Expand Up @@ -73,14 +72,14 @@ AEM. If you want to point the integration tests to different AEM author and
publish instances, you can use the following system properties via Maven's `-D`
flag.

| Property | Description | Default value |
| --- | --- | --- |
| `it.author.url` | URL of the author instance | `http://localhost:4502` |
| `it.author.user` | Admin user for the author instance | `admin` |
| `it.author.password` | Password of the admin user for the author instance | `admin` |
| `it.publish.url` | URL of the publish instance | `http://localhost:4503` |
| `it.publish.user` | Admin user for the publish instance | `admin` |
| `it.publish.password` | Password of the admin user for the publish instance | `admin` |
| Property | Description | Default value |
|-----------------------|-----------------------------------------------------|-------------------------|
| `it.author.url` | URL of the author instance | `http://localhost:4502` |
| `it.author.user` | Admin user for the author instance | `admin` |
| `it.author.password` | Password of the admin user for the author instance | `admin` |
| `it.publish.url` | URL of the publish instance | `http://localhost:4503` |
| `it.publish.user` | Admin user for the publish instance | `admin` |
| `it.publish.password` | Password of the admin user for the publish instance | `admin` |

The integration tests in this archetype use the [AEM Testing
Clients](https://github.com/adobe/aem-testing-clients) and showcase some
Expand All @@ -100,9 +99,11 @@ can be found here https://github.com/adobe/aemanalyser-maven-plugin

### UI tests

They will test the UI layer of your AEM application using either Cypress or Selenium technology.
They will test the UI layer of your AEM application using Cypress framework.

Check README file in `ui.tests.cypress` or `ui.tests.wdio` module for more details.
Check README file in `ui.tests` module for more details.

Examples of UI tests in different frameworks can be found here: https://github.com/adobe/aem-test-samples

## ClientLibs

Expand Down
1 change: 0 additions & 1 deletion src/main/archetype/archetype.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ enableDynamicMedia=${enableDynamicMedia}
enableSSR=${enableSSR}
precompiledScripts=${precompiledScripts}
includeFormsheadless=${includeFormsheadless}
uiTestingFramework=${uiTestingFramework}
8 changes: 0 additions & 8 deletions src/main/archetype/ui.tests.wdio/.dockerignore

This file was deleted.

64 changes: 0 additions & 64 deletions src/main/archetype/ui.tests.wdio/Dockerfile

This file was deleted.

106 changes: 0 additions & 106 deletions src/main/archetype/ui.tests.wdio/README.md

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions src/main/archetype/ui.tests.wdio/docker-compose-wdio-chrome.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions src/main/archetype/ui.tests.wdio/docker-compose-wdio-firefox.yaml

This file was deleted.

Loading
Loading