Skip to content

[e2e] Run e2e tests parallel#32

Merged
ScharfViktor merged 1 commit into
mainfrom
rune2eTestParallel
Jan 30, 2025
Merged

[e2e] Run e2e tests parallel#32
ScharfViktor merged 1 commit into
mainfrom
rune2eTestParallel

Conversation

@ScharfViktor

@ScharfViktor ScharfViktor commented Jan 29, 2025

Copy link
Copy Markdown
Contributor

cucumber can run tests parallel using --parallel

We ran the tests consistently because we used the same users (Alice, Brian...), had conflicts when creating users/sharing resources with users. I now create users and groups with a unique prefix for each test to avoid name conflict. example: Brian-04f

how to tests: run opencloud with OC_SHOW_USER_EMAIL_IN_RESULTS=true

run command: PARALLEL=4 OC_BASE_URL=opencloud-server:9200 RETRY=1 HEADLESS=true ./run-e2e.sh --suites admin-settings,file-action,journeys,navigation,search,shares,spaces,user-settings

Comment thread tests/e2e/support/objects/app-files/share/collaborator.ts

@JammingBen JammingBen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool feature!

Comment thread tests/e2e/config.js
Comment thread tests/e2e/cucumber/environment/index.ts Outdated
Comment thread tests/e2e/package.json Outdated
Comment thread tests/e2e/support/types.ts Outdated

@JammingBen JammingBen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@ScharfViktor ScharfViktor merged commit fae1b18 into main Jan 30, 2025
@ScharfViktor ScharfViktor deleted the rune2eTestParallel branch January 30, 2025 14:52
@kulmann kulmann changed the title run e2e tests parallel [e2e] Run e2e tests parallel Mar 17, 2025
@kulmann kulmann added Type:Test Type:DevOps Related to CI/CD and removed Type:Test labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:DevOps Related to CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants