timer-5 icon indicating copy to clipboard operation
timer-5 copied to clipboard

Test unstable in Docker: Session splitting

Open Klaster1 opened this issue 1 year ago • 0 comments

 ✖ Session splitting (screenshots: /opt/tests/e2e/screenshots/2024-07-21_16-43-01/test-12/Chrome_126.0.0.0_Debian_12.6/errors/1.png) 

   1) AssertionError: expected { Object (match, diff) } to deeply equal { match: true }

      + expected - actual

       {
      -  diff: '/opt/tests/e2e/visual-regression-screenshots/linux/[Tasks] Session splitting - default.diff.png'
      -  match: false
      +  match: true
       }


      Browser: Chrome 126.0.0.0 / Debian 12.6
      Screenshot: /opt/tests/e2e/screenshots/2024-07-21_16-43-01/test-12/Chrome_126.0.0.0_Debian_12.6/errors/1.png

         401 |  await t.click(screenTask.menuSession.buttonSplit);
         402 |  // Assert the session is split in the middle by default
         403 |  await checkSession(0, { start: '2024-07-07 17:56', end: '2024-07-07 21:56', duration: '4h00m' });
         404 |  await checkSession(1, { start: '2024-07-07 17:56', end: '2024-07-07 19:56', duration: '2h00m' });
         405 |  await checkSession(2, { start: '2024-07-07 19:56', end: '2024-07-07 21:56', duration: '2h00m' });
       > 406 |  await t.expect(await comparePageScreenshot('default')).eql(VISUAL_REGRESSION_OK);
         407 |  // Move the slider to the leftmost position
         408 |  await dialogSplitSession.setSliderValue(0);
         409 |  // await dialogSplitSession.setSliderValue(0);
         410 |  await checkSession(1, { start: '2024-07-07 17:56', end: '2024-07-07 17:56', duration: '0s' });
         411 |  await checkSession(2, { start: '2024-07-07 17:56', end: '2024-07-07 21:56', duration: '4h00m' });

         at <anonymous> (/opt/tests/e2e/fixtures/tasks.ts:406:58)
         at fulfilled (/opt/tests/e2e/fixtures/tasks.ts:5:58)

https://github.com/user-attachments/assets/2e97a52f-1cba-4e2d-bd24-17bc79647813

Klaster1 avatar Jul 21 '24 16:07 Klaster1