mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-1517] add tests for create library (#799)
This commit is contained in:
committed by
Denys Vuika
parent
5adab43787
commit
b592ea8635
@@ -56,11 +56,16 @@ export class Sidenav extends Component {
|
||||
await menu.waitForMenuToOpen();
|
||||
}
|
||||
|
||||
async openCreateDialog() {
|
||||
async openCreateFolderDialog() {
|
||||
await this.openNewMenu();
|
||||
await this.menu.clickMenuItem('Create folder');
|
||||
}
|
||||
|
||||
async openCreateLibraryDialog() {
|
||||
await this.openNewMenu();
|
||||
await this.menu.clickMenuItem('Create Library');
|
||||
}
|
||||
|
||||
async isActiveByLabel(label: string) {
|
||||
const className = await this.getLinkByLabel(label).getAttribute('class');
|
||||
return className.includes(Sidenav.selectors.activeLink.replace('.', ''));
|
||||
|
Reference in New Issue
Block a user