mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1088] add tests for search results page and actions on search results (#1051)
* add tests for search results page and actions on search results * fix selector and add more tests * split unshare tests * fix tests * add more tests and TestRail ids
This commit is contained in:
committed by
Denys Vuika
parent
b69ed7da28
commit
deea3465e0
@@ -209,7 +209,7 @@ describe('Sidebar', () => {
|
||||
it('sidebar is collapsed automatically when Search Results opens - [C277223]', async () => {
|
||||
await searchInput.clickSearchButton();
|
||||
/* cspell:disable-next-line */
|
||||
await searchInput.searchForTextAndCloseSearchOptions('qwertyuiop');
|
||||
await searchInput.searchFor('qwertyuiop');
|
||||
await searchResultsPage.waitForResults();
|
||||
|
||||
expect(await header.isExpandedSidenav()).toBe(false, 'Sidebar not collapsed');
|
||||
@@ -218,7 +218,7 @@ describe('Sidebar', () => {
|
||||
it('sidenav returns to the default state when navigating away from the Search Results page - [C277224]', async () => {
|
||||
await searchInput.clickSearchButton();
|
||||
/* cspell:disable-next-line */
|
||||
await searchInput.searchForTextAndCloseSearchOptions('qwertyuiop');
|
||||
await searchInput.searchFor('qwertyuiop');
|
||||
await searchResultsPage.waitForResults();
|
||||
await page.clickFavorites();
|
||||
|
||||
@@ -228,7 +228,7 @@ describe('Sidebar', () => {
|
||||
it('sidenav can be expanded when search results page is displayed - [C277230]', async () => {
|
||||
await searchInput.clickSearchButton();
|
||||
/* cspell:disable-next-line */
|
||||
await searchInput.searchForTextAndCloseSearchOptions('qwertyuiop');
|
||||
await searchInput.searchFor('qwertyuiop');
|
||||
await searchResultsPage.waitForResults();
|
||||
await header.expandSideNav();
|
||||
|
||||
|
Reference in New Issue
Block a user