mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2116] search results available actions (#895)
* add item.id to File Libraries * add method to wait for node to be indexed * create separate methods in queries API to wait for sites or wait for nodes * improvements, renaming * renaming * fix * add tests for actions on search results * add wait and use new method * fix * another fix * use correct method * more fixes * create method for clickView button * fixes * no message
This commit is contained in:
committed by
Denys Vuika
parent
0471b783a4
commit
d2e0f688e8
@@ -96,7 +96,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Join a public library - Favorite Libraries - [C290105]', async () => {
|
||||
await page.goToFavoriteLibraries();
|
||||
await page.goToFavoriteLibrariesAndWait();
|
||||
await dataTable.selectItem(sitePublic1Admin);
|
||||
await toolbar.clickJoin();
|
||||
|
||||
@@ -104,7 +104,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Join a moderated library - Favorite Libraries - [C290109]', async () => {
|
||||
await page.goToFavoriteLibraries();
|
||||
await page.goToFavoriteLibrariesAndWait();
|
||||
await dataTable.selectItem(siteModerated1Admin);
|
||||
await toolbar.clickJoin();
|
||||
|
||||
@@ -114,7 +114,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Leave a library - My Libraries - [C290106]', async () => {
|
||||
await page.goToMyLibraries();
|
||||
await page.goToMyLibrariesAndWait();
|
||||
await dataTable.selectItem(sitePublic2Admin);
|
||||
await toolbar.clickLeave();
|
||||
await page.waitForDialog();
|
||||
@@ -125,7 +125,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Leave a library - Favorite Libraries - [C290110]', async () => {
|
||||
await page.goToFavoriteLibraries();
|
||||
await page.goToFavoriteLibrariesAndWait();
|
||||
await dataTable.selectItem(sitePublic3Admin);
|
||||
await toolbar.clickLeave();
|
||||
await page.waitForDialog();
|
||||
@@ -136,7 +136,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Confirmation dialog UI - [C290136]', async () => {
|
||||
await page.goToMyLibraries();
|
||||
await page.goToMyLibrariesAndWait();
|
||||
await dataTable.selectItem(sitePublic4Admin);
|
||||
await toolbar.clickLeave();
|
||||
await page.waitForDialog();
|
||||
@@ -149,7 +149,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Cancel Leave library - [C290111]', async () => {
|
||||
await page.goToMyLibraries();
|
||||
await page.goToMyLibrariesAndWait();
|
||||
await dataTable.selectItem(sitePublic4Admin);
|
||||
await toolbar.clickLeave();
|
||||
await page.waitForDialog();
|
||||
@@ -160,7 +160,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Leave a library - failure notification - [C290107]', async () => {
|
||||
await page.goToMyLibraries();
|
||||
await page.goToMyLibrariesAndWait();
|
||||
await dataTable.selectItem(sitePublicUser);
|
||||
await toolbar.clickLeave();
|
||||
await page.waitForDialog();
|
||||
@@ -170,7 +170,7 @@ describe('Library actions', () => {
|
||||
});
|
||||
|
||||
it('Cancel join - Favorite Libraries - [C290108]', async () => {
|
||||
await page.goToFavoriteLibraries();
|
||||
await page.goToFavoriteLibrariesAndWait();
|
||||
await dataTable.selectItem(siteModerated2Admin);
|
||||
await toolbar.clickButton('Cancel join request');
|
||||
|
||||
|
Reference in New Issue
Block a user