Skip to content

Test unstable in Docker: Session splitting #36

@Klaster1

Description

@Klaster1
 ✖ 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)

Recording.2024-07-21.194426.small.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions