diff --git a/e2e/paths/03-worker/04_time_control.spec.js b/e2e/paths/03-worker/04_time_control.spec.js index ccf1ed5c36..36aaca61ea 100644 --- a/e2e/paths/03-worker/04_time_control.spec.js +++ b/e2e/paths/03-worker/04_time_control.spec.js @@ -310,11 +310,22 @@ describe('Worker time control path', () => { describe('as HHRR', () => { describe('on Saturday', () => { - it('should log in and navigate to timeControl', async() => { + it('should log in as hr and pick the worker module', async() => { await page.loginAndModule('hr', 'worker'); + }); + + it('should search for a worker and access to its summary', async() => { await page.accessToSearchResult('HankPym'); + let url = await page.expectURL('/summary'); + + expect(url).toBe(true); + }); + + it('should access to the time control section', async() => { await page.accessToSection('worker.card.timeControl'); - await page.waitForContentLoaded(); + let url = await page.expectURL('/time-control'); + + expect(url).toBe(true); }); it('should lovingly scan in Hank Pym', async() => {