fix e2e tests and cleanup e2e typings (#5770)

* cleanup e2e typings

* fix e2e tests
This commit is contained in:
Denys Vuika
2020-06-10 20:37:21 +01:00
committed by GitHub
parent 98774395d2
commit 8025434de9
119 changed files with 1381 additions and 1384 deletions
@@ -251,7 +251,7 @@ describe('Start Task - Custom App', () => {
});
it('[C286406] Invalid values for items per page', async () => {
await taskListSinglePage.typeItemsPerPage('0');
await taskListSinglePage.typeItemsPerPage(0);
await taskListSinglePage.clickAppId();
await expect(await taskListSinglePage.getItemsPerPageFieldErrorMessage()).toEqual('Value must be greater than or equal to 1');
});
@@ -304,12 +304,12 @@ describe('Start Task - Custom App', () => {
});
it('[C286405] Type invalid values to page field', async () => {
await taskListSinglePage.typePage('0');
await taskListSinglePage.typePage(0);
await taskListSinglePage.clickAppId();
await expect(await taskListSinglePage.getPageFieldErrorMessage()).toEqual('Value must be greater than or equal to 1');
await taskListSinglePage.clickResetButton();
await taskListSinglePage.typePage('2');
await taskListSinglePage.typePage(2);
await taskListSinglePage.paginationPage().checkPaginationIsNotDisplayed();
});