Skip to content

(e2e): E4 tool-bar journey intermittently measures Refresh 100 px away from the id #1163

Closed

Description

@devsuitup

e2e/tool-bar.spec.js:109 "E4: Refresh stays beside the id with short and long session and PTY titles" failed once in CI on PR #1159 (run 44847551734, attempt 1, ubuntu e2e job) and passed on rerun; the PR only touched main-process Windows job code.

expect(refresh.x - id.x - id.width).toBeLessThan(24)
Expected: < 24
Received:   103.46875
  at e2e/tool-bar.spec.js:131:45

Expected: find what makes the Refresh button sit ~100 px from the id on some runs (a measurement taken before the title/id settles, a font not loaded yet, a resize in flight) and make the journey wait for a settled layout instead of reading it once.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions