Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbuild: run edge tests on browserstack #20662
Conversation
940398a
to
37ba1c0
55aa082
to
0f60f4c
Moves the Edge tests to Browserstack to avoid the recent issues with Saucelabs.
0f60f4c
to
78b6d8d
| @@ -354,23 +354,23 @@ export function crossEnvironmentSpecs( | |||
| }); | |||
|
|
|||
| it('should be able to hover', async () => { | |||
| const host = await harness.host(); | |||
| let classAttr = await host.getAttribute('class'); | |||
| const box = await harness.hoverTest(); | |||
crisbeto
Sep 27, 2020
•
Author
Member
I decided to change these tests to hover an element inside the host, instead of the host itself, because the first assertion, that ensures that the element doesn't start off as hovered, was breaking on Browserstack. What I think was going on is that it would put the cursor inside the viewport when the window is opened, throwing off our assertion since the host takes up most of the screen and the cursor would land on it.
I decided to change these tests to hover an element inside the host, instead of the host itself, because the first assertion, that ensures that the element doesn't start off as hovered, was breaking on Browserstack. What I think was going on is that it would put the cursor inside the viewport when the window is opened, throwing off our assertion since the host takes up most of the screen and the cursor would land on it.
|
LGTM |
|
LGTM |
8b6aab1
into
angular:master
Moves the Edge tests to Browserstack to avoid the recent issues with Saucelabs. (cherry picked from commit 8b6aab1)
Moves the Edge tests to Browserstack to avoid the recent issues with Saucelabs.