Skip to content

Commit

Permalink
fix:Widget Column test case fix (appsmithorg#38045)
Browse files Browse the repository at this point in the history
## Description
Column name updates.


Fixes #`Issue Number`  
_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.Widget"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12235074532>
> Commit: 245d0f2
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12235074532&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Widget`
> Spec:
> <hr>Mon, 09 Dec 2024 13:04:29 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Updated widget property navigation test cases to reflect changes in
widget properties.
  
- **Chores**
- Modified the list of limited tests to replace an outdated test entry
with a new focus on widget property navigation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
sagar-qa007 authored Dec 9, 2024
1 parent 164c1b2 commit c739c49
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,22 @@ describe(
);
_.agHelper.GetNClick(OneClickBindingLocator.searchableColumn);
_.agHelper.GetNClick(
OneClickBindingLocator.columnDropdownOption("searchableColumn", "id"),
OneClickBindingLocator.columnDropdownOption(
"searchableColumn",
"imdb_id",
),
);
_.agHelper.GetNClick(OneClickBindingLocator.connectData);
_.table.WaitUntilTableLoad(0, 0, "v2");
_.propPane.OpenTableColumnSettings("id");
_.propPane.OpenTableColumnSettings("imdb_id");
_.propPane.TypeTextIntoField("Regex", "{{test}}");
_.debuggerHelper.AssertErrorCount(1);
_.propPane.ToggleSection("validation");
_.propPane.NavigateBackToPropertyPane();

_.debuggerHelper.OpenDebugger();
_.debuggerHelper.ClicklogEntityLink();
_.agHelper.GetNAssertContains(_.propPane._paneTitle, "id");
_.agHelper.GetNAssertContains(_.propPane._paneTitle, "imdb_id");
_.debuggerHelper.CloseBottomBar();
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
_.entityExplorer.DeleteWidgetFromEntityExplorer("Table1");
Expand Down

0 comments on commit c739c49

Please sign in to comment.