[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:
Adam Świderski
2025-07-17 13:15:59 +02:00
committed by GitHub
parent c26e123c55
commit bcc9780491
18 changed files with 129 additions and 58 deletions

View File

@@ -1,9 +1,7 @@
{
"XAT-5601": "https://hyland.atlassian.net/browse/ACS-6928",
"XAT-5600": "https://hyland.atlassian.net/browse/ACS-6928",
"XAT-17697": "https://hyland.atlassian.net/browse/ACS-7464",
"XAT-17121": "https://hyland.atlassian.net/browse/ACS-9795",
"XAT-17702": "https://hyland.atlassian.net/browse/ACS-9795",
"XAT-17121": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-17702": "https://hyland.atlassian.net/browse/ACS-9889",
"XAT-17701": "https://hyland.atlassian.net/browse/ACS-9860",
"XAT-17700": "https://hyland.atlassian.net/browse/ACS-9860",
"XAT-5581": "https://hyland.atlassian.net/browse/ACS-9860",

View File

@@ -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);