Skip to content
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: running to reproduce the issue in CI #33364

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

NandanAnantharamu
Copy link
Collaborator

Some tests are failing in CI only and difficult to reproduce, this PR is to try and reproduce the issue and provide a resolution

Copy link
Contributor

coderabbitai bot commented May 11, 2024

Walkthrough

Walkthrough

The recent update in the Cypress test suite involves a reorganization and renaming of spec files to better align with new widget functionalities. This includes the introduction of specific tests for TableV2, ListV2, and ButtonGroupIconWidget, reflecting a more structured and modular approach to testing these components.

Changes

Original File Path New File Path Change Summary
.../Templates/Fork_Template_spec.js .../Widgets/TableV2/Inline_editing_2_spec.js Renamed to focus on TableV2 inline editing
.../Templates/Fork_Template_spec.js .../Widgets/ListV2/ListV2_PageNo_PageSize_spec.js Updated to test ListV2 pagination features
.../Templates/Fork_Template_spec.js .../Widgets/ListV2/Listv2_WithButtonGroupIconWidget_spec.ts Adapted for testing ListV2 with new widget

Recent Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between d684b19 and dcf7991.
Files selected for processing (1)
  • app/client/cypress/limited-tests.txt (1 hunks)
Additional Context Used
LanguageTool (2)
app/client/cypress/limited-tests.txt (2)

Near line 1: You might be missing the article “the” here.
Context: ... limited tests - give the spec names in below format: cypress/e2e/Regression/ClientSi...


Near line 9: You might be missing the article “the” here.
Context: ...ile to run minimum of specs. Do not run entire suite with this command.

Learnings (1)
app/client/cypress/limited-tests.txt (1)
User: Aishwarya-U-R
PR: appsmithorg/appsmith#29405
File: app/client/cypress/e2e/Regression/ClientSide/Binding/TableV2_Widget_API_Pagination_spec.js:37-41
Timestamp: 2023-12-08T08:59:53.560Z
Learning: The pull request titled "test: Cypress | Replace static with Dynamic waits - Part 1" is part of a phased approach where only certain test specifications are targeted for static wait removal in the initial phase. Future phases will address additional specs.

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?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit

@github-actions github-actions bot added skip-changelog Adding this label to a PR prevents it from being listed in the changelog Test labels May 11, 2024
Copy link

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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)
app/client/cypress/limited-tests.txt (1)

Line range hint 9-9: Consider adding the article "the" for grammatical correctness.

-#ci-test-limit uses this file to run minimum of specs. Do not run entire suite with this command.
+#ci-test-limit uses this file to run the minimum of specs. Do not run the entire suite with this command.

@@ -1,5 +1,7 @@
# To run only limited tests - give the spec names in below format:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding the article "the" for grammatical correctness.

-# To run only limited tests - give the spec names in below format:
+# To run only limited tests - give the spec names in the below format:

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
# To run only limited tests - give the spec names in below format:
# To run only limited tests - give the spec names in the below format:

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9041682101.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

12 similar comments
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

2 similar comments
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9041682101

Copy link

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

2 similar comments
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

1 similar comment
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

1 similar comment
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

1 similar comment
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

Copy link

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

6 similar comments
@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

@NandanAnantharamu
Copy link
Collaborator Author

/ci-test-limit runId=9052439039

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058265559.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058267699.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058270183.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058266195.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058266770.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058269086.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9058268381.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

Copy link

This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.

@github-actions github-actions bot added the Stale label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Adding this label to a PR prevents it from being listed in the changelog Stale Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant