-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
test: Analyse TBP failure RestAPIDatasource #37337
base: release
Are you sure you want to change the base?
Conversation
WalkthroughThe changes in this pull request involve updating the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)app/client/cypress/limited-tests.txt (1)Pattern
🔇 Additional comments (2)app/client/cypress/limited-tests.txt (2)Line range hint The switch from regression to sanity test might affect overall test coverage. Ensure that critical template forking functionality is covered elsewhere in the test suite. #!/bin/bash
# Description: Check for other template forking test coverage
# Search for other template-related test files
fd "Template.*spec\.js$" --type f
# Look for fork-related test cases in other files
rg -i "fork.*template" -g "*.{js,ts}"
Let's ensure the new test path exists and follows Cypress conventions. ✅ Verification successfulThe previous search didn't yield results, so I'm trying a more targeted approach to:
This will help us determine if the path in limited-tests.txt is correct and accessible. Test specification path is valid and correctly structured The path 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify the existence and structure of the RestApiDatasource_spec.js file
# Check if the test file exists
fd "RestApiDatasource_spec.js" --type f
# Verify the test file structure
if [ -f "app/client/cypress/e2e/Sanity/Datasources/RestApiDatasource_spec.js" ]; then
# Check for Cypress best practices
rg -A 5 "cy\.wait|cy\.pause|agHelper\.sleep|it\.only|after\(|afterEach\(" "app/client/cypress/e2e/Sanity/Datasources/RestApiDatasource_spec.js"
# Check for proper selector usage
rg "\.btn\.|button\[|xpath=|css=" "app/client/cypress/e2e/Sanity/Datasources/RestApiDatasource_spec.js"
fi
Length of output: 4722 Script: #!/bin/bash
# Let's verify the test file existence with a more specific search
fd "RestApiDatasource_spec.js$" --type f
# Also check the directory structure
fd "Sanity/Datasources$" --type d
# Check if there are any similar test files
fd ".*RestApi.*spec\.js$" --type f
Length of output: 251 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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
/ci-test-limit-count run_count=100 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/11793685751. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/11793685751.
|
Summary by CodeRabbit