Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/helpers/UiBaseLocators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,10 @@ export class UiBaseLocators {
await this.page.waitForTimeout(400);
await this.unnamedTabTxt.clear();
await this.unnamedTabTxt.fill(tabName);
await expect(this.page.getByTestId('tab:' + tabName)).toBeVisible();
// We use this to make sure the test id is updated
await this.page.getByRole('tab', { name: 'Design' }).click();
// We click again to make sure the tab is focused
await this.page.getByTestId('tab:' + tabName).click();
}

async searchForTypeToFilterValue(searchValue: string) {
Expand Down