Skip to content

Commit

Permalink
LTS2025: ftest search feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Nov 7, 2024
1 parent e84711d commit b68d313
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,12 @@ Then('I edit the results columns to show {string}', async function(heading) {

Then(/^I save my search as "(.+)"$/, async function(searchName) {
const saveAsButton = await this.ui.searchResults.saveSearchAsButton;
await saveAsButton.waitForVisible();
await saveAsButton.waitForVisible({ timeout: 5000 });
await saveAsButton.click();
await this.ui.searchResults.enterInput(searchName);
const confirmSaveButton = await this.ui.searchResults.confirmSaveSearchButton;
await confirmSaveButton.waitForEnabled({ timeout: 5000 });
await confirmSaveButton.waitForClickable({ timeout: 5000 });
await confirmSaveButton.click();
});

Expand Down

0 comments on commit b68d313

Please sign in to comment.