Conversation
WalkthroughThe Changes
Poem
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- app/client/cypress/support/commands.js (1 hunks)
Files skipped from review due to trivial changes (1)
- app/client/cypress/support/commands.js
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- app/client/cypress/support/commands.js (1 hunks)
Additional context used
Path-based instructions (1)
app/client/cypress/support/commands.js (1)
Pattern
app/client/cypress/**/**.*: Follow best practices for Cypress code and e2e automation.
Avoid using cy.wait in code.
Avoid using cy.pause in code.
Use variables for locators, not strings.
Usedata-*attributes for selectors; avoid Xpaths and CSS attributes.
Avoid selectors like.btn.submitorbutton[type=submit].
Perform logins via API withLoginFromAPI.
Only interact with controlled sites/servers.
Ensure tests can run withit.onlyand are independent.
Usebefore,beforeEach,after,afterEachcorrectly; clean state before tests.
Check new specs for flakiness by running them 10 times on CI.
Use multiple assertions; don't treat Cypress as unit tests.
Use constants for strings.
Include datasource operations inbeforehooks.
Additional comments not posted (1)
app/client/cypress/support/commands.js (1)
Line range hint
361-363:
LGTM! But verify the command usage in the codebase.The removal of the click action simplifies the command and is approved.
However, ensure that all usages of
NavigateToJSEditorare still functioning correctly without the click action.
|
@albinAppsmith can you please check if anything breaks on EE because of this change. it is a common file change hence |
@ApekshaBhosale Here is the PR in EE. Ran AccessControl tests here. Do you think I should run all tests there? |
Description
Fixed RBAC git failure due to recent IDE search changes.
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9886280380
Commit: efa6f0e
Cypress dashboard.
Tags:
@tag.AllSpec:
Thu, 11 Jul 2024 07:14:07 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit