Skip to content

Commit

Permalink
[ACS-6107] Updated E2Es to remove references to old date-range component
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnil-verma-gl committed Dec 5, 2023
1 parent 88aec09 commit 6bbb969
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
2 changes: 0 additions & 2 deletions e2e/protractor/suites/search/search-filters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ describe('Search filters', () => {
const { dataTable, filters, toolbar } = page;

const fileTypeFilter = filters.fileType;
const createdDateFilter = filters.createdDate;
const peopleFilter = filters.people;
const locationFilter = filters.location;
const modifiedDateFilter = filters.modifiedDate;
Expand Down Expand Up @@ -111,7 +110,6 @@ describe('Search filters', () => {
});

it('[C279186] Filters are displayed', async () => {
expect(await createdDateFilter.isDisplayed()).toBe(true, 'Created date filter panel not displayed');
expect(await fileTypeFilter.isDisplayed()).toBe(true, 'File type filter panel not displayed');
expect(await peopleFilter.isDisplayed()).toBe(true, 'People filter panel not displayed');
expect(await locationFilter.isDisplayed()).toBe(true, 'Location filter panel not displayed');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +0,0 @@
/*!
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/

import { GenericFilter } from './generic-filter';

export class CreatedDateFilter extends GenericFilter {
constructor() {
super('Created date');
}
}
1 change: 0 additions & 1 deletion projects/aca-testing-shared/src/components/search/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

export * from './filters/autocomplete-chips-filter';
export * from './filters/created-date-filter';
export * from './filters/facet-filter';
export * from './filters/generic-filter';
export * from './filters/properties-filter';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import { by, browser } from 'protractor';
import { Component } from '../component';
import { CreatedDateFilter } from './filters/created-date-filter';
import { FacetFilter } from './filters/facet-filter';
import { AutocompleteChipsFilter } from './filters/autocomplete-chips-filter';
import { PropertiesFilter } from './filters/properties-filter';
Expand All @@ -33,7 +32,6 @@ import { FacetTabbedFilter } from './filters/facet-tabbed-filter';
export class SearchFilters extends Component {
resetAllButton = browser.element(by.css('button[adf-reset-search]'));

createdDate = new CreatedDateFilter();
fileType = new PropertiesFilter();
people = new FacetTabbedFilter('People');
location = new AutocompleteChipsFilter('Location');
Expand Down

0 comments on commit 6bbb969

Please sign in to comment.