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

refactor: remove deprecated table widget tests #38733

Merged

Conversation

rahulbarwal
Copy link
Contributor

@rahulbarwal rahulbarwal commented Jan 17, 2025

Description

This PR deletes multiple obsolete Cypress test files related to the Table Widget, including tests for button icon validation, color specifications, column resizing, derived column data validation, and various property pane functionalities.

  • Deleted tests for button icon validation, color specifications, and column resizing.
  • Removed tests for derived column data and property pane functionalities.
  • Cleaned up the test suite to enhance maintainability and focus on current features.

EE PR for sanity testing: https://github.com/appsmithorg/appsmith-ee/pull/5965

Fixes #38691
or
Fixes Issue URL

Warning

If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

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/12826545188
Commit: 107a26f
Cypress dashboard.
Tags: @tag.All
Spec:


Fri, 17 Jan 2025 11:14:13 UTC

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

Summary by CodeRabbit

Based on the provided information, here's a concise release note:

  • Chores
    • Removed multiple Cypress end-to-end test files for Table Widget functionality
    • Deleted test suites covering various scenarios including property pane interactions, multi-row selection, filtering, and data validation

The release notes focus on the high-level action of removing test files without diving into specific implementation details. The goal is to provide a clear, user-friendly summary of the changes.

This commit deletes multiple obsolete Cypress test files related to the Table Widget, including tests for button icon validation, color specifications, column resizing, derived column data validation, and various property pane functionalities.

- Deleted tests for button icon validation, color specifications, and column resizing.
- Removed tests for derived column data and property pane functionalities.
- Cleaned up the test suite to enhance maintainability and focus on current features.
@rahulbarwal rahulbarwal self-assigned this Jan 17, 2025
@rahulbarwal rahulbarwal requested review from jacquesikot and removed request for ApekshaBhosale and sagar-qa007 January 17, 2025 09:42
Copy link
Contributor

coderabbitai bot commented Jan 17, 2025

Walkthrough

The pull request involves the deletion of multiple Cypress end-to-end test specification files for the Table V1 widget within the app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/ directory. These files contained comprehensive test suites for various aspects of the Table widget's functionality, including property pane interactions, data binding, filtering, row selection, and UI validations. The deletion is part of a task to remove automation tests for a widget that has seen minimal drag-and-drop usage in the last 12 months.

Changes

File Path Change Summary
app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/ Deleted multiple test specification files for Table V1 widget

Assessment against linked issues

Objective Addressed Explanation
Remove Table V1 cypress specs All specified test files have been deleted
Preserve feature for sanity purposes No changes to the actual widget functionality

Possibly related PRs

Suggested labels

Task, skip-changelog, Tech Debt, ok-to-test, Widgets Product, Widgets & Accelerators Pod

Suggested reviewers

  • ApekshaBhosale
  • sagar-qa007

Poem

Farewell, Table V1 tests, your time has passed,
Cypress specs deleted, memories amassed.
No more drag and drop, but sanity remains,
In code's grand ballet, simplicity reigns! 🧹🔍


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 41a5110 and 107a26f.

📒 Files selected for processing (29)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableBugs_Spec.ts (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter1_1_Spec.ts (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter1_2_Spec.ts (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter2_1_Spec.ts (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter2_2_Spec.ts (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Button_Icon_validation_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Color_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Column_Resize_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Derived_Column_Data_validation_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_EmptyRow_Color_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_FilteredTableData_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_GeneralProperty_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_MultiRowSelect_dataUpdation_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_MultiRowSelect_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Number_column_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_PropertyPane_1_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_PropertyPane_2_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_PropertyPane_IconName_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Property_JsonUpdate_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Switch_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Add_button_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Copy_Paste_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Default_Row_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Derived_Column_Computed_value_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Selected_row_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_tabledata_schema_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/table_with_text_no_2dArray_spec.js (0 hunks)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/table_with_text_selRowIndices_spec.js (0 hunks)
💤 Files with no reviewable changes (29)
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_PropertyPane_1_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Button_Icon_validation_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Number_column_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Column_Resize_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Copy_Paste_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Derived_Column_Computed_value_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Color_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_GeneralProperty_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_MultiRowSelect_dataUpdation_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_EmptyRow_Color_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter1_2_Spec.ts
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Selected_row_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_FilteredTableData_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/table_with_text_no_2dArray_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_PropertyPane_IconName_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_tabledata_schema_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Switch_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_MultiRowSelect_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableBugs_Spec.ts
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter2_2_Spec.ts
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Derived_Column_Data_validation_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter1_1_Spec.ts
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Property_JsonUpdate_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/table_with_text_selRowIndices_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Default_Row_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter2_1_Spec.ts
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Widget_Add_button_spec.js
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_PropertyPane_2_spec.js
⏰ Context from checks skipped due to timeout of 90000ms (7)
  • GitHub Check: perform-test / client-build / client-build
  • GitHub Check: perform-test / rts-build / build
  • GitHub Check: perform-test / server-build / server-unit-tests
  • GitHub Check: client-unit-tests / client-unit-tests
  • GitHub Check: client-lint / client-lint
  • GitHub Check: client-build / client-build
  • GitHub Check: client-prettier / prettier-check

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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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.

@github-actions github-actions bot added Table Widget Task A simple Todo Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets labels Jan 17, 2025
@rahulbarwal rahulbarwal added the ok-to-test Required label for CI label Jan 17, 2025
@rahulbarwal rahulbarwal merged commit 185fefc into release Jan 20, 2025
90 checks passed
@rahulbarwal rahulbarwal deleted the rahulbarwal/38691/remove-Table-V1-cypress-specs branch January 20, 2025 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Required label for CI Table Widget Task A simple Todo Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Task: Remove Table V1 cypress specs.
2 participants