mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
try fix e2e
This commit is contained in:
committed by
Sheena Malhotra
parent
63bf55ffab
commit
8c6328703b
@@ -89,6 +89,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C280024] Create Library dialog UI', async () => {
|
it('[C280024] Create Library dialog UI', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
|
|
||||||
@@ -105,6 +107,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C280025] Create a public library', async () => {
|
it('[C280025] Create a public library', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(site1Name);
|
await createDialog.enterName(site1Name);
|
||||||
@@ -118,6 +122,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C289880] Create a moderated library', async () => {
|
it('[C289880] Create a moderated library', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(site2Name);
|
await createDialog.enterName(site2Name);
|
||||||
@@ -132,6 +138,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C289881] Create a private library', async () => {
|
it('[C289881] Create a private library', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(site3Name);
|
await createDialog.enterName(site3Name);
|
||||||
@@ -146,6 +154,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C289882] Create a library with a given ID and description', async () => {
|
it('[C289882] Create a library with a given ID and description', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(site4.name);
|
await createDialog.enterName(site4.name);
|
||||||
@@ -163,6 +173,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C280027] Duplicate library ID', async () => {
|
it('[C280027] Duplicate library ID', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(duplicateSite.name);
|
await createDialog.enterName(duplicateSite.name);
|
||||||
@@ -173,6 +185,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C280028] Create library using the ID of a library from the Trashcan', async () => {
|
it('[C280028] Create library using the ID of a library from the Trashcan', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(siteInTrash.name);
|
await createDialog.enterName(siteInTrash.name);
|
||||||
@@ -183,6 +197,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C280029] Cancel button', async () => {
|
it('[C280029] Cancel button', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName('test site');
|
await createDialog.enterName('test site');
|
||||||
@@ -195,6 +211,7 @@ describe('Create library', () => {
|
|||||||
it('[C280026] Library ID cannot contain special characters', async () => {
|
it('[C280026] Library ID cannot contain special characters', async () => {
|
||||||
const idWithSpecialChars = ['a*a', 'a"a', 'a<a', 'a>a', `a\\a`, 'a/a', 'a?a', 'a:a', 'a|a'];
|
const idWithSpecialChars = ['a*a', 'a"a', 'a<a', 'a>a', `a\\a`, 'a/a', 'a?a', 'a:a', 'a|a'];
|
||||||
|
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName('test site');
|
await createDialog.enterName('test site');
|
||||||
@@ -207,6 +224,8 @@ describe('Create library', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C280030] Create 2 libraries with same name but different IDs', async () => {
|
it('[C280030] Create 2 libraries with same name but different IDs', async () => {
|
||||||
|
await page.goToMyLibrariesAndWait();
|
||||||
|
|
||||||
await page.sidenav.openCreateLibraryDialog();
|
await page.sidenav.openCreateLibraryDialog();
|
||||||
await createDialog.waitForDialogToOpen();
|
await createDialog.waitForDialogToOpen();
|
||||||
await createDialog.enterName(duplicateSite.name);
|
await createDialog.enterName(duplicateSite.name);
|
||||||
|
Reference in New Issue
Block a user