-
Notifications
You must be signed in to change notification settings - Fork 305
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
Development
: Add multi node e2e tests with playwright
#8599
Conversation
WalkthroughThe recent changes focus on enhancing multi-node configuration support for end-to-end (E2E) testing environments using Playwright and Cypress. This includes updates to Docker commands in the cleanup and execution scripts to ensure proper setup and teardown of multi-node environments. Additionally, minor adjustments were made to the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Out of diff range and nitpick comments (1)
.ci/E2E-tests/cleanup.sh (1)
Line range hint
4-4
: Separate declaration and assignment, and quote the variable to prevent word splitting.- export HOST_HOSTNAME=$(hostname) + HOST_HOSTNAME=$(hostname) + export HOST_HOSTNAME="$HOST_HOSTNAME"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multinode playwright and cypress ymls look good
Most of the issues I addressed are style issues, depending on the urgency of the PR we might want to address them in a follow up PR 😅 |
a0d86d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 5
Out of diff range and nitpick comments (2)
.ci/E2E-tests/execute.sh (2)
Line range hint
46-47
: Double quote to prevent globbing and word splitting.- echo $COMPOSE_FILE + echo "$COMPOSE_FILE"
Line range hint
47-47
: Double quote to prevent globbing and word splitting.- mv ./*.war build/libs/ + mv "./*.war" "build/libs/"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing the comments and having a look into the anchors!
I think with adding another anchor for the depend_on
section the yml will be even easier to read, as the differences are easier to sport then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me, thanks for addressing the anchor suggestions! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know much about Dockerconfigs, so I couldn't really review that section, but I didn't find anything directly myself.
One comment, optional.
Development
: e2e multi node testsDevelopment
: Add multi node e2e tests with playwright
Checklist
General
Motivation and Context
Production runs in a multi-node setup. Therefore, tests should run on the same setup.
bamboo server tests
Steps for Testing
Artemis E2E Playwright Tests (MySQL, Local, Multi-Node) need to pass on Bamboo. CI has already been adjusted to use the multi-node config.
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Code Review