-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
test: skip expand modes in OSS #11360
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
Conversation
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
📝 WalkthroughWalkthroughThe test suite for "Expanded form files mode" was updated to skip all tests when the environment is not Enterprise Edition by checking the result of the Changes
Sequence Diagram(s)sequenceDiagram
participant TestSuite as ExpandedFormModeFiles.spec.ts
participant Env as Environment (isEE)
TestSuite->>Env: isEE()
alt isEE() returns false
TestSuite->>TestSuite: test.skip() (skip all tests)
else isEE() returns true
TestSuite->>TestSuite: Run tests as normal
end
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. ✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
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: 0
🧹 Nitpick comments (1)
tests/playwright/pages/Dashboard/common/Cell/UserOptionCell.ts (1)
42-43
: Fix mismatch between comment and implementation.The comment states "add 500ms wait" but the actual implementation uses only 100ms. This discrepancy could confuse developers reading the code in the future.
Update the comment to match the actual timeout value:
- // add 500ms wait to ensure dropdown is open + // add 100ms wait to ensure dropdown is open await this.rootPage.waitForTimeout(100);Or, if 500ms was the intended value:
// add 500ms wait to ensure dropdown is open - await this.rootPage.waitForTimeout(100); + await this.rootPage.waitForTimeout(500);
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/playwright/pages/Dashboard/common/Cell/UserOptionCell.ts
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: pre-build-for-playwright / playwright
- GitHub Check: unit-tests-pg
- GitHub Check: unit-tests
Change Summary
Provide summary of changes with issue number if any.
Change type
Test/ Verification
Provide summary of changes.
Additional information / screenshots (optional)
Anything for maintainers to be made aware of