publish branch
gitea/salix/2145_e2e_linux_fix This commit looks good Details

This commit is contained in:
Bernat 2020-02-27 12:49:44 +01:00
parent 21ace6ef4e
commit f2d54790fc
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer';
xdescribe('Worker time control path', () => {
fdescribe('Worker time control path', () => {
let browser;
let page;
beforeAll(async() => {
@ -76,6 +76,7 @@ xdescribe('Worker time control path', () => {
it(`should add the break's scan in for Hank Pym and be in the right order`, async() => {
const scanTime = '10:20';
await page.waitFor(1000);
await page.waitToClick(selectors.workerTimeControl.mondayAddTimeButton);
await page.pickTime(selectors.workerTimeControl.timeDialog, scanTime);
await page.waitToClick(selectors.workerTimeControl.confirmButton);