Skip to content

Commit

Permalink
fix: Widget property test case fix (appsmithorg#38001)
Browse files Browse the repository at this point in the history
## Description
Fix test case as DB data updated.


Fixes #
https://app.zenhub.com/workspaces/stability-pod-6690c4814e31602e25cab7fd/issues/gh/appsmithorg/appsmith/38022

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 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/12228999115>
> Commit: 9eb9d98
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12228999115&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 09 Dec 2024 05:14:24 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

- **Chores**
	- Updated test specification to focus on a new TypeScript test file.
- Streamlined references to column identifiers in widget property
navigation tests for consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
sagar-qa007 authored Dec 9, 2024
1 parent 23e3c5b commit d005813
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,22 +160,19 @@ describe(
);
_.agHelper.GetNClick(OneClickBindingLocator.searchableColumn);
_.agHelper.GetNClick(
OneClickBindingLocator.columnDropdownOption(
"searchableColumn",
"imdb_id",
),
OneClickBindingLocator.columnDropdownOption("searchableColumn", "id"),
);
_.agHelper.GetNClick(OneClickBindingLocator.connectData);
_.table.WaitUntilTableLoad(0, 0, "v2");
_.propPane.OpenTableColumnSettings("imdb_id");
_.propPane.OpenTableColumnSettings("id");
_.propPane.TypeTextIntoField("Regex", "{{test}}");
_.debuggerHelper.AssertErrorCount(1);
_.propPane.ToggleSection("validation");
_.propPane.NavigateBackToPropertyPane();

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

0 comments on commit d005813

Please sign in to comment.