Skip to content
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

Issues executing UI Tests on v33+ #891

Closed
marcovlara opened this issue Feb 11, 2022 · 1 comment · Fixed by #905
Closed

Issues executing UI Tests on v33+ #891

marcovlara opened this issue Feb 11, 2022 · 1 comment · Fixed by #905
Milestone

Comments

@marcovlara
Copy link
Contributor

marcovlara commented Feb 11, 2022

One of my clients faces issues when running ui.test locally on a vanilla project created by the latest archetype (v35). They follow the ui.test documentation0, and execute mvn verify -Pui-tests-local-execution . I was able to validate the test execution failures on the latest version. Furthermore, I also was able to validate that the tests failed for a few previous versions, newer than v32. v32 and older seem fine to execute the test locally.

[0] https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/ui.tests

I am attaching the execution output files on both projects created using archetypes 32, and 35.

Perhaps there are changes in the versions of node or maven, but those should be part of the documentation.

Expected Behaviour

Archetype on all versions should execute successful UI Tests

Actual Behaviour

UI Test execution failures on archetype versions 33+.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Execute the commands under "Sample Code that illustrates the problem"

Platform and Version

Hardware Overview:

Model Name: MacBook Pro
Model Identifier: MacBookPro16,1
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache: 16 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
System Firmware Version: 1715.60.5.0.0 (iBridge: 19.16.10647.0.0,0)
OS Loader Version: 540.60.2~89
Activation Lock Status: Disabled

Sample Code that illustrates the problem

Failed Project
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=35\
 -D appTitle="SampleUiTest35" \
 -D appId="sampleuitest35" \
 -D groupId="com.sampleuitest35"
...
cd ./sampleuitest35
mvn clean install -PautoInstallSinglePackage
...
mvn verify -Pui-tests-local-execution
Pass Project
mvn -B archetype:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=32 \
 -D appTitle="SampleUiTest32" \
 -D appId="sampleuitest32" \
 -D groupId="com.sampleuitest32"
...
cd ./sampleuitest32
mvn clean install -PautoInstallSinglePackage
...
mvn verify -Pui-tests-local-execution

Logs taken while reproducing problem

sampleuitest35.txt
sampleuitest32.txt
2022-02-11T18_10_37_216Z-debug.35.log

marcovlara pushed a commit to marcovlara/aem-project-archetype that referenced this issue Mar 10, 2022
Update package.json to add moment npm dependency that fails on Mac OS.

This issue was reported on adobe#891
@stefanseifert
Copy link
Contributor

i'm running into the same problem - PR #905 fixes it.

vladbailescu pushed a commit that referenced this issue Jul 15, 2022
…#905)

Update package.json to add moment npm dependency that fails on Mac OS.

This issue was reported on #891

Co-authored-by: Marco Lara <malara@adobe.com>
@vladbailescu vladbailescu linked a pull request Sep 27, 2022 that will close this issue
10 tasks
@vladbailescu vladbailescu added this to the 39 milestone Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants