mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-3417]Fixing test rail ID's (#3651)
This commit is contained in:
committed by
Eugenio Romano
parent
94463a7505
commit
70605c8982
@@ -107,26 +107,26 @@ describe('Search component - Search Bar', () => {
|
||||
// });
|
||||
// });
|
||||
|
||||
it('1. Search bar is visible', () => {
|
||||
it('[C272798] Search bar is visible', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsVisible().checkSearchIconIsVisible();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsNotVisible().checkSearchIconIsVisible();
|
||||
});
|
||||
|
||||
it('2. Add input and close', () => {
|
||||
it('[C272799] Add input and close', () => {
|
||||
searchDialog.checkSearchIconIsVisible().clickOnSearchIcon().enterText(firstFolderModel.shortName);
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsNotVisible().checkSearchIconIsVisible();
|
||||
contentServicesPage.checkAcsContainer();
|
||||
});
|
||||
|
||||
it('3. Search for content that doesn\'t exist', () => {
|
||||
it('[C260255] Search for content that does not exist', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible().clickOnSearchIcon().checkNoResultMessageIsNotDisplayed()
|
||||
.enterText(search.inactive.name).checkNoResultMessageIsDisplayed();
|
||||
searchDialog.clearText();
|
||||
searchDialog.checkSearchBarIsNotVisible();
|
||||
});
|
||||
|
||||
it('4. Existing folder and file are displayed in search suggestion when typing only the first 4 letters', () => {
|
||||
it('[C260256] Existing folder and file are displayed in search suggestion when typing the first 4 letters', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsVisible().enterText(firstFolderModel.shortName);
|
||||
|
||||
@@ -151,7 +151,7 @@ describe('Search component - Search Bar', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible();
|
||||
});
|
||||
|
||||
it('5. Existing folder and file are displayed in search suggestion', () => {
|
||||
it('[C272800] Existing folder and file are displayed in search suggestion', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.clickOnSearchIcon().checkSearchBarIsVisible().enterText(firstFolderModel.name);
|
||||
searchDialog.resultTableContainsRow(firstFolderModel.name);
|
||||
@@ -174,7 +174,7 @@ describe('Search component - Search Bar', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible();
|
||||
});
|
||||
|
||||
it('6. Folder content is displayed when clicking on existing folder', () => {
|
||||
it('[C260257] Folder content is displayed when clicking on existing folder', () => {
|
||||
searchDialog.clickOnSearchIcon().enterText(firstFolderModel.shortName);
|
||||
searchDialog.resultTableContainsRow(firstFolderModel.name);
|
||||
searchDialog.clickOnSpecificRow(firstFolderModel.name);
|
||||
@@ -192,27 +192,27 @@ describe('Search component - Search Bar', () => {
|
||||
filePreviewPage.closePreviewWithButton();
|
||||
});
|
||||
|
||||
it('7. Non-existent folder is not displayed in search page', () => {
|
||||
it('[C272801] Non-existent folder is not displayed in search page', () => {
|
||||
searchDialog.checkSearchIconIsVisible().clickOnSearchIcon();
|
||||
searchDialog.enterTextAndPressEnter(search.inactive.name);
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
contentServicesPage.goToDocumentList();
|
||||
});
|
||||
|
||||
it('8. Existing folder is displayed in search page', () => {
|
||||
it('[C272802] Existing folder is displayed in search page', () => {
|
||||
searchDialog.clickOnSearchIcon();
|
||||
searchDialog.enterTextAndPressEnter(firstFolderModel.name);
|
||||
searchResultPage.checkContentIsDisplayed(firstFolderModel.name);
|
||||
});
|
||||
|
||||
it('9. Existing file is displayed in search page', () => {
|
||||
it('[C260258] Existing file is displayed in search page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.clickOnSearchIcon();
|
||||
searchDialog.enterTextAndPressEnter(firstFileModel.name);
|
||||
searchResultPage.checkContentIsDisplayed(firstFileModel.name);
|
||||
});
|
||||
|
||||
xit('10. A folder is selected from search bar using arrows', () => {
|
||||
xit('[C91321] Should be able to use down arrow key when navigating throw suggestions', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -224,7 +224,7 @@ describe('Search component - Search Bar', () => {
|
||||
expect(contentServicesPage.currentFolderName()).toEqual(secondFolder.name);
|
||||
});
|
||||
|
||||
xit('11. The search bar gets closed when clicking on another browser tab', () => {
|
||||
xit('[C260254] The search bar gets closed when clicking on another browser tab', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
|
||||
@@ -96,7 +96,7 @@ describe('Search component - Search Page', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('1. \'No results found searching for\' message is displayed on Search Page', () => {
|
||||
it('[C260264] \'No results found searching for\' message is displayed on Search Page', () => {
|
||||
let notExistentFileName = Util.generateRandomString();
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
@@ -104,7 +104,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
});
|
||||
|
||||
it('2. File previewer is displayed', () => {
|
||||
it('[C260265] File previewer is displayed', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -121,7 +121,7 @@ describe('Search component - Search Page', () => {
|
||||
filePreviewPage.closePreviewWithButton();
|
||||
});
|
||||
|
||||
it('3. Only the searched file is displayed', () => {
|
||||
it('[C272810] Only the searched file is displayed', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -134,7 +134,7 @@ describe('Search component - Search Page', () => {
|
||||
expect(searchResultPage.numberOfResultsDisplayed()).toBe(1);
|
||||
});
|
||||
|
||||
it('4. Folder content is displayed', () => {
|
||||
it('[C260267] Folder content is displayed', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog.checkSearchBarIsNotVisible()
|
||||
@@ -150,7 +150,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('5. Delete a file from the Search Results Page', () => {
|
||||
it('[C260261] Delete a file from the Search Results Page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -172,7 +172,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
});
|
||||
|
||||
it('6. Delete a folder from the Search Results Page', () => {
|
||||
it('[C272809] Delete a folder from the Search Results Page', () => {
|
||||
searchDialog.checkSearchBarIsNotVisible()
|
||||
.checkSearchIconIsVisible()
|
||||
.clickOnSearchIcon()
|
||||
@@ -189,7 +189,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkNoResultMessageIsDisplayed();
|
||||
});
|
||||
|
||||
xit('8. Sort content ascending by name.', () => {
|
||||
xit('[C272803] Sort content ascending by name.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog
|
||||
@@ -204,7 +204,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('9. Sort content descending by name.', () => {
|
||||
xit('[C272804] Sort content descending by name.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
|
||||
searchDialog.checkSearchBarIsNotVisible()
|
||||
@@ -218,7 +218,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('10. Sort content ascending by author.', () => {
|
||||
xit('[C272805] Sort content ascending by author.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -228,7 +228,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('11. Sort content descending by author.', () => {
|
||||
xit('[C272806] Sort content descending by author.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -238,7 +238,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('12. Sort content ascending by created date.', () => {
|
||||
xit('[C272807] Sort content ascending by created date.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -248,7 +248,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('13. Sort content descending by created date.', () => {
|
||||
xit('[C260260] Sort content descending by created date.', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.active.base);
|
||||
@@ -258,7 +258,7 @@ describe('Search component - Search Page', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('14. Try to delete a file without rights from the Search Results Page', () => {
|
||||
xit('[C260262] Try to delete a file without rights from the Search Results Page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.no_permission.noPermFile);
|
||||
@@ -271,7 +271,7 @@ describe('Search component - Search Page', () => {
|
||||
searchResultPage.checkContentIsDisplayed(search.no_permission.noPermFile);
|
||||
});
|
||||
|
||||
it('15. Try to delete a folder without rights from the Search Results Page', () => {
|
||||
it('[C272808] Try to delete a folder without rights from the Search Results Page', () => {
|
||||
contentServicesPage.goToDocumentList();
|
||||
searchDialog.checkSearchBarIsNotVisible().checkSearchIconIsVisible().clickOnSearchIcon()
|
||||
.enterTextAndPressEnter(search.no_permission.noPermFolder);
|
||||
|
||||
Reference in New Issue
Block a user