mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-9102] Local ACS deployment for E2Es (#4324)
* [ACS-9102] Local ACS deployment draft * [ACS-9102] Move ACS deployment to composite action * [ACS-9102] Remove obsolete checks * [ACS-9102] Proper secrets for ACS deployment * [ACS-9102] Add required shell property * [ACS-9102] Use fixed acs deployment version * [ACS-9102] Proper acs deployment tag * [ACS-9102] Add required shell property * [ACS-9102] Fix helm install params * [ACS-9102] Remove obsolete checkout * [ACS-9102] Use more powerful runner for E2Es * [ACS-9102] Introduce temp secrets * test curl localhost * skip n-1 matrix jobs * test ipv4 first * [ACS-9102] Adjust Playwright E2E host * [ACS-9102] Bring back matrix job * disable unnecessary acs components * debug ingress after tests run * [ACS-9102] Fix folder-rules test suite * [ACS-9102] Fix part of viewer test suite * [ACS-9102] Additional E2E fixes * [ACS-9102] fixes for e2es -> empty-list and search * [ACS-9102] more fixes for e2es and github actions artifacts added for easier debugging * [ACS-9102] removed artifacts from GHA * print all logs * [ACS-9102] Remove outdated secrets * [ACS-9102] Remove after-e2e action * do not wait for reindexing * test on latest runner * Always debug ingress logs * avoid sleep waiting for app startup * cleanup unnecessary action input type * fixup indent * test with latest acs alpha * Revert "do not wait for reindexing" This reverts commit 86ca54de33a6b5bf1da65202caac5798b5f88d51. * [ACS-9102] Exclude unstable test cases * [ACS-9102] Exclude unstable test cases * [ACS-9102] Exclude unstable test cases --------- Co-authored-by: Giovanni Toraldo <giovanni.toraldo@hyland.com> Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
"C290019": "https://hyland.atlassian.net/browse/ACS-6928",
|
||||
"C290018": "https://hyland.atlassian.net/browse/ACS-6928",
|
||||
"C699046-3": "https://hyland.atlassian.net/browse/ACS-7464",
|
||||
"C699498": "https://hyland.atlassian.net/browse/ACS-7682"
|
||||
"C699498": "https://hyland.atlassian.net/browse/ACS-7682",
|
||||
"C277736": "https://hyland.atlassian.net/browse/ACS-9154"
|
||||
}
|
||||
|
@@ -107,61 +107,38 @@ test.describe('Search sorting', () => {
|
||||
expectedFirstFile: string,
|
||||
expectedSecondFile: string
|
||||
) {
|
||||
await searchPage.searchWithin(`search-sort *${random}`, 'files');
|
||||
|
||||
await searchPage.searchWithin(`*${random}*`, 'files');
|
||||
await searchPage.searchSortingPicker.sortBy(sortBy, sortOrder);
|
||||
|
||||
expect(await searchPage.dataTable.getNthRow(0).textContent()).toContain(expectedFirstFile);
|
||||
expect(await searchPage.dataTable.getNthRow(1).textContent()).toContain(expectedSecondFile);
|
||||
}
|
||||
|
||||
[
|
||||
{
|
||||
column: 'Name',
|
||||
id: 'C277728',
|
||||
firstFile: fileJpg.name,
|
||||
secondFile: filePdf.name
|
||||
},
|
||||
{
|
||||
column: 'Type',
|
||||
id: 'C277740',
|
||||
firstFile: filePdf.name,
|
||||
secondFile: fileJpg.name
|
||||
},
|
||||
{
|
||||
column: 'Size',
|
||||
id: 'C277738',
|
||||
firstFile: filePdf.name,
|
||||
secondFile: fileJpg.name
|
||||
},
|
||||
{
|
||||
column: 'Created date',
|
||||
id: 'C277734',
|
||||
firstFile: fileJpg.name,
|
||||
secondFile: filePdf.name
|
||||
},
|
||||
{
|
||||
column: 'Modified date',
|
||||
id: 'C277736',
|
||||
firstFile: fileJpg.name,
|
||||
secondFile: filePdf.name
|
||||
},
|
||||
{
|
||||
column: 'Relevance',
|
||||
id: 'C277727',
|
||||
firstFile: fileJpg.name,
|
||||
secondFile: filePdf.name
|
||||
},
|
||||
{
|
||||
column: 'Modifier',
|
||||
id: 'C277732',
|
||||
firstFile: fileJpg.name,
|
||||
secondFile: filePdf.name
|
||||
}
|
||||
].forEach((testCase) => {
|
||||
test(`[${testCase.id}] Sort by ${testCase.column}`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, testCase.column as SortByType, 'asc', testCase.firstFile, testCase.secondFile);
|
||||
});
|
||||
test(`[C277728] Sort by Name`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Name' as SortByType, 'asc', fileJpg.name, filePdf.name);
|
||||
});
|
||||
|
||||
test(`[C277740] Sort by Type`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Type' as SortByType, 'asc', filePdf.name, fileJpg.name);
|
||||
});
|
||||
|
||||
test(`[C277738] Sort by Size`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Size' as SortByType, 'asc', filePdf.name, fileJpg.name);
|
||||
});
|
||||
|
||||
test(`[C277734] Sort by Created date`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Created date' as SortByType, 'asc', fileJpg.name, filePdf.name);
|
||||
});
|
||||
|
||||
test(`[C277736] Sort by Modified date`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Modified date' as SortByType, 'asc', fileJpg.name, filePdf.name);
|
||||
});
|
||||
|
||||
test(`[C277727] Sort by Relevance`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Relevance' as SortByType, 'asc', fileJpg.name, filePdf.name);
|
||||
});
|
||||
|
||||
test(`[C277732] Sort by Modifier`, async ({ searchPage }) => {
|
||||
await testSearchSorting(searchPage, 'Modifier' as SortByType, 'asc', fileJpg.name, filePdf.name);
|
||||
});
|
||||
|
||||
test('[C277722] Sorting options are displayed', async ({ searchPage }) => {
|
||||
|
Reference in New Issue
Block a user