Skip to content

Some jasmine tests fail depending on the screen resolution of the computer running the test #444

Closed
@monfera

Description

@monfera

When running tests in the Default resolution of a 13" MacBook, all of click_test.js passed; however, four failures were reported after increasing the resolution to the maximum in System Preferences. After much fiddling on my part, @etpinard suggested it may be to do with the browser window size. Indeed, the browser window was of a different size, depending on the resolution:

  • Default resolution: 1035 x 617
  • Highest resolution: 792 x 867

Manually resizing the already existing Chrome window and rerunning the test made it pass, confirming the suspicion that failure is due to less than expected viewport width.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions