added end-to-end tests for cor-tabs in image repo view
This commit is contained in:
parent
8c03a6be31
commit
f78e1fb679
3 changed files with 86 additions and 5 deletions
|
@ -6,4 +6,8 @@ export class CorTabsViewObject {
|
|||
public selectTabByTitle(title: string): Promise<void> {
|
||||
return Promise.resolve($(`cor-tab[tab-title="${title}"] a`).click());
|
||||
}
|
||||
|
||||
public isActiveTab(title: string): Promise<boolean> {
|
||||
return Promise.resolve($(`cor-tab[tab-title="${title}"] .cor-tab-itself.active`).isPresent());
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue