diff --git a/app/client/cypress/support/Pages/DataSources.ts b/app/client/cypress/support/Pages/DataSources.ts index 4770826380c2..4e035fa5db1b 100644 --- a/app/client/cypress/support/Pages/DataSources.ts +++ b/app/client/cypress/support/Pages/DataSources.ts @@ -325,9 +325,7 @@ export class DataSources { datasourceName, ); this.agHelper.GetNClick(this._selectTableDropdown, 0, true); - cy.get( - `div[role="listbox"] p[kind="span"]:contains("${tableName}")`, - ).click(); + cy.get(`div[role="listbox"] p:contains("${tableName}")`).click(); this.agHelper.GetNClick(this._generatePageBtn); this.assertHelper.AssertNetworkStatus("@replaceLayoutWithCRUDPage", 201); this.agHelper.ClickButton("Got it");