Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test unstable in Docker: Session splitting #36

Open
Klaster1 opened this issue Jul 21, 2024 · 0 comments
Open

Test unstable in Docker: Session splitting #36

Klaster1 opened this issue Jul 21, 2024 · 0 comments
Labels
bug Something isn't working tests

Comments

@Klaster1
Copy link
Owner

 ✖ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests
Projects
None yet
Development

No branches or pull requests

1 participant