mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[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:
@@ -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));
|
||||
|
||||
@@ -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\''
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user