mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
disable w3c due getValue problem (#7067)
* [ci:force]disable w3c due getValue problem * unify get Input value * [ci:force]fix * [ci:force] remove * [ci:force]remove all getAttribute * fix lint * fix lint * fix * fix * fix * fix * different fix try * rewrite wait for for value * fix lint * remove e2e already covered by unit * fix lint * fix
This commit is contained in:
@@ -15,7 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { DataTableComponentPage, DatePickerCalendarPage, DateUtil, LocalStorageUtil, LoginPage } from '@alfresco/adf-testing';
|
||||
import {
|
||||
BrowserActions,
|
||||
DataTableComponentPage,
|
||||
DatePickerCalendarPage,
|
||||
DateUtil,
|
||||
LocalStorageUtil,
|
||||
LoginPage
|
||||
} from '@alfresco/adf-testing';
|
||||
import { browser, ElementFinder } from 'protractor';
|
||||
import { SearchBarPage } from '../pages/search-bar.page';
|
||||
import { NavigationBarPage } from '../../core/pages/navigation-bar.page';
|
||||
@@ -124,7 +131,7 @@ describe('Search Date Range Filter', () => {
|
||||
|
||||
const results = await dataTable.geCellElementDetail('Created') as ElementFinder[];
|
||||
for (const currentResult of results) {
|
||||
const currentDate = await currentResult.getAttribute('title');
|
||||
const currentDate = await BrowserActions.getAttribute(currentResult, 'title');
|
||||
const currentDateFormatted = DateUtil.parse(currentDate, 'MMM DD, YYYY, h:mm:ss a');
|
||||
|
||||
await expect(currentDateFormatted <= DateUtil.parse(toDate, 'DD-MM-YY')).toBe(true);
|
||||
|
Reference in New Issue
Block a user