-
Notifications
You must be signed in to change notification settings - Fork 276
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 playwright e2e tests for system health
#8457
Conversation
WalkthroughThe recent updates involve a shift in the approach to system health checks in end-to-end testing. The Cypress test for Artemis system health is now skipped, indicating a change in testing focus. On the other hand, a new Playwright test script, Changes
Possibly related issues
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: 1
Out of diff range and nitpick comments (1)
src/test/playwright/e2e/SystemHealth.spec.ts (1)
28-32
: Consider the performance impact of running these checks as separate tests. Grouping them or using a parametrized test approach could improve performance.
Thanks for the changes, @muradium, but the build plan doesn't seem to exist for this branch, so we can't see the impact of the test here. Could you please ensure that the branch gets activated so we can get the results of the playwright tests? |
Co-authored-by: Julian Christl <julian.christl@tum.de>
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.
Tests running through now, lgtm
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.
Code LGTM and tests pass locally 👍
Development
: Playwright system health testsDevelopment
: Add playwright e2e tests for system health
Checklist
General
Client
Motivation and Context
System health tests are missing in Playwright. As a part of migration to Playwright, they need to be migrated from Cypress.
Description
Adds system health tests to Playwright and disables them in Cypress.
Steps for Testing
Steps for running the tests:
npm install && npm run playwright:setup && npx playwright test e2e/SystemHealth.spec.ts
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Code Review
Manual Tests
Summary by CodeRabbit
Summary by CodeRabbit
SystemHealth.spec.ts
for checking system health indicators on a web page.