You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Guys! My angular tests pass only when chrome is running.
In my tests, I operate with the position of the element on the page using the getBoundingClientRect, Also I use scrolling to the desired element using scrollIntoView. But the tests pass only for those elements that are visible without scrolling (but pass! it means that these methods above are actually working with the ChromeHeadless flag).
Expected:
Tests pass with nx test --browsers=Chrome and nx test --browsers=ChromeHeadless
Actual:
Tests pass only with nx test --browsers=Chrome
Could you possible suggest any advice?
Thank you
The text was updated successfully, but these errors were encountered:
skyRoma
changed the title
Tests pass only in debug mode
Tests pass only in debug mode (with --browsers=Chrome flag)
Jan 23, 2023
Hi Guys! My angular tests pass only when chrome is running.
In my tests, I operate with the position of the element on the page using the
getBoundingClientRect
, Also I use scrolling to the desired element usingscrollIntoView
. But the tests pass only for those elements that are visible without scrolling (but pass! it means that these methods above are actually working with theChromeHeadless
flag).Expected:
Tests pass with
nx test --browsers=Chrome
andnx test --browsers=ChromeHeadless
Actual:
Tests pass only with
nx test --browsers=Chrome
Could you possible suggest any advice?
Thank you
The text was updated successfully, but these errors were encountered: