mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[search-2897] test new search (#2207)
* test new search * run tests * tslint fix - clean run * rerun the e2e * Remove '=' for Search 2.0 compatibility * Use a travis setting to override the value * use the default env updated by singlepipeline Co-authored-by: iuliaib <iulia.burca@ness.com>
This commit is contained in:
@@ -182,7 +182,7 @@ describe('Folders - available actions : ', () => {
|
|||||||
|
|
||||||
it('[C291822] both files and folders', async () => {
|
it('[C291822] both files and folders', async () => {
|
||||||
await searchInput.clickSearchButton();
|
await searchInput.clickSearchButton();
|
||||||
await searchInput.searchFor(`=${testData.file.name} or =${testData.folderFav.name}`);
|
await searchInput.searchFor(`${testData.file.name} or ${testData.folderFav.name}`);
|
||||||
await searchResultsPage.waitForResults();
|
await searchResultsPage.waitForResults();
|
||||||
|
|
||||||
await testUtil.checkMultipleSelContextMenu([testData.file.name, testData.folderFav.name], testData.multipleSel.searchContextMenu);
|
await testUtil.checkMultipleSelContextMenu([testData.file.name, testData.folderFav.name], testData.multipleSel.searchContextMenu);
|
||||||
|
@@ -225,7 +225,7 @@ export function searchResultsTests() {
|
|||||||
it('both files and folders - [C268128]', async () => {
|
it('both files and folders - [C268128]', async () => {
|
||||||
await page.clickPersonalFiles();
|
await page.clickPersonalFiles();
|
||||||
await searchInput.clickSearchButton();
|
await searchInput.clickSearchButton();
|
||||||
await searchInput.searchFor(`=${testData.file.name} or =${testData.folderFav.name}`);
|
await searchInput.searchFor(`${testData.file.name} or ${testData.folderFav.name}`);
|
||||||
|
|
||||||
await testUtil.checkMultipleSelContextMenu([testData.file.name, testData.folderFav.name], testData.multipleSel.contextMenu);
|
await testUtil.checkMultipleSelContextMenu([testData.file.name, testData.folderFav.name], testData.multipleSel.contextMenu);
|
||||||
await testUtil.checkMultipleSelToolbarActions(
|
await testUtil.checkMultipleSelToolbarActions(
|
||||||
|
@@ -32,6 +32,7 @@ describe('Search filters', () => {
|
|||||||
const random = Utils.random();
|
const random = Utils.random();
|
||||||
|
|
||||||
const user1 = `user1-${random}`;
|
const user1 = `user1-${random}`;
|
||||||
|
|
||||||
const user2 = `user2-${random}`;
|
const user2 = `user2-${random}`;
|
||||||
|
|
||||||
const parent = `parent-${random}`;
|
const parent = `parent-${random}`;
|
||||||
|
Reference in New Issue
Block a user