[ACS-5018] library actions protractor tests (#3545)

* [ACS-5018] library actions protractor tests

* updating type and timeout

* implementing reviews comments
This commit is contained in:
Adam Zakrzewski
2023-11-29 19:09:07 +01:00
committed by GitHub
parent 8831c2e82a
commit 1b55de018b
12 changed files with 529 additions and 444 deletions

View File

@@ -38,7 +38,8 @@ import {
LoginPage,
NodesApi,
SitesApi,
users
users,
FavoritesLibrariesPage
} from '../';
interface Pages {
@@ -51,6 +52,7 @@ interface Pages {
favoritePage: FavoritesPage;
trashPage: TrashPage;
loginPage: LoginPage;
favoriteLibrariesPage: FavoritesLibrariesPage;
}
interface Api {
@@ -109,4 +111,7 @@ export const test = base.extend<Pages & Api>({
myLibrariesPage: async ({ page }, use) => {
await use(new MyLibrariesPage(page));
},
favoriteLibrariesPage: async ({ page }, use) => {
await use(new FavoritesLibrariesPage(page));
}
});