Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Tests fails on different screens #872

@dmoskovtsov

Description

@dmoskovtsov

Hey.
Probably it's not an issue but I haven't found a way of solving this.

I have a simple test which checks width

labelBackground.getAttribute('width').then(function (width) { expect(width).toBe('60'); });

It works on my laptop but fails if I run it on another laptop whose screen resolution is different. I've tried played with config and setting screen size in before each but it didn't help:

browser.driver.manage().window().setSize(1000, 1000);

Is there a way of solving this issue?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions