We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f203602 commit fcb7b09Copy full SHA for fcb7b09
tests/e2e/pageobjects/dashboard/Workspaces.ts
@@ -240,7 +240,7 @@ export class Workspaces {
240
}
241
242
private getOpenButtonLocator(workspaceName: string): By {
243
- return By.xpath(`${this.getWorkspaceListItemLocator(workspaceName).value}//td[@data-key=6]//button[text()='Open']`);
+ return By.xpath(`(${this.getWorkspaceListItemLocator(workspaceName).value}//td//button[text()='Open'])[last()]`);
244
245
246
private getOpenWorkspaceDetailsLinkLocator(workspaceName: string): By {
0 commit comments