mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-9795] [E2E] Fixing tests from ACS-9795 (#4676)
* [ACS-9795] [E2E] Included tests for verification * [ACS-9795] [E2E] fixes for e2es pt.1 * [ACS-9795] e2e fixes pt.2 * [ACS-9795] e2e fixes pt.3 * [ACS-9795] deleted dist for testing * [ACS-9795] tests excluded - local ACS issues * [ACS-9795] sonar fixes * [ACS-9795] excluded XAT-17182 * [ACS-9795] updated exclude URLs * [ACS-9795] review fixes 1
This commit is contained in:
@@ -53,6 +53,8 @@ test.describe('Search Highlighting', () => {
|
||||
await nodesApi.createFile(fileNameHighlight, '-my-');
|
||||
await nodesApi.createFile(fileDescriptionHighlight, '-my-', null, fileDescription);
|
||||
await fileActionsApi.uploadFileWithRename(TEST_FILES.PDF.path, fileContentHighlight);
|
||||
|
||||
await fileActionsApi.waitForNodesSearchHighlight(fileContentHighlight, { expect: 1 });
|
||||
} catch (error) {
|
||||
console.error(`beforeAll failed: ${error}`);
|
||||
}
|
||||
@@ -75,7 +77,8 @@ test.describe('Search Highlighting', () => {
|
||||
expect(await searchPage.dataTable.hasHighlightedText('name')).toBe(false);
|
||||
});
|
||||
|
||||
test('[XAT-17121] Matching phrases should be highlighted in the file content for search results', async ({ searchPage }) => {
|
||||
test('[XAT-17121] Matching phrases should be highlighted in the file content for search results', async ({ searchPage, personalFiles }) => {
|
||||
await personalFiles.navigate();
|
||||
await searchPage.searchWithin(fileContent, 'files');
|
||||
await searchPage.dataTable.progressBarWaitForReload();
|
||||
expect(await searchPage.dataTable.hasHighlightedText('content')).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user