[ACS-5761] Demo Shell pages cleanup (#8802)

remove the content that is not covered by e2e testing, preparation steps for the demo shell decommissioning
This commit is contained in:
Denys Vuika
2023-08-08 14:09:41 +01:00
committed by GitHub
parent 17535c9f53
commit 4f2b3bce3c
257 changed files with 528 additions and 15154 deletions
@@ -176,15 +176,10 @@ describe('Search Date Range Filter', () => {
});
describe('configuration change', () => {
let jsonFile;
beforeAll(async () => {
jsonFile = SearchConfiguration.getConfiguration();
});
it('[C277117] Should be able to change date format', async () => {
await navigationBar.navigateToContentServices();
const jsonFile= SearchConfiguration.getConfiguration();
jsonFile.categories[4].component.settings.dateFormat = 'MM-DD-YY';
await LocalStorageUtil.setConfigField('search', JSON.stringify(jsonFile));
+2 -2
View File
@@ -141,7 +141,7 @@ describe('Search Radio Component', () => {
for (let numberOfOptions = 0; numberOfOptions < 6; numberOfOptions++) {
jsonFile.categories[5].component.settings.options.push({
name: 'APP.SEARCH.RADIO.FOLDER',
name: 'Folder',
value: 'TYPE:\'cm:folder\''
});
}
@@ -199,7 +199,7 @@ describe('Search Radio Component', () => {
for (let numberOfOptions = 0; numberOfOptions < 6; numberOfOptions++) {
jsonFile.categories[5].component.settings.options.push({
name: 'APP.SEARCH.RADIO.FOLDER',
name: 'Folder',
value: 'TYPE:\'cm:folder\''
});
}
+1 -6
View File
@@ -76,12 +76,6 @@ describe('Search component - Text widget', () => {
});
describe('configuration change', () => {
let jsonFile;
beforeAll(async () => {
jsonFile = SearchConfiguration.getConfiguration();
});
it('[C289330] Should be able to change the Field setting', async () => {
await BrowserActions.getUrl(browser.baseUrl + '/search;q=*');
await searchResultPage.tableIsLoaded();
@@ -99,6 +93,7 @@ describe('Search component - Text widget', () => {
await searchFiltersPage.textFiltersPage().searchByName(newFolderModel.description);
await searchResultPage.checkContentIsNotDisplayed(newFolderModel.name);
const jsonFile= SearchConfiguration.getConfiguration();
jsonFile.categories[0].component.settings.field = 'cm:description';
await navigationBarPage.navigateToContentServices();