playwright/tests
Ross Wollman 13dedd27ca
test: out-of-viewport should be considered visible (#13134)
Closes #13131.

Per the visibility spec on https://playwright.dev/docs/next/actionability#visible:

> Element is considered visible when it has non-empty bounding box and does not have visibility:hidden computed style. Note that elements of zero size or with display:none are not considered visible.

 non-empty bounding box
 does not have visibility:hidden

Given the above conditions are satisfied, the locator is considered visible.

https://github.com/microsoft/playwright/issues/8740 proposes something like `isInViewport()` that would be better suited for checking if an element is offscreen.
2022-03-28 16:10:16 -07:00
..
android chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
assets test(role): add tests for implicit role calculation (#13132) 2022-03-28 15:22:50 -07:00
components fix(tests): remove lock from component tests, test real experience (#13095) 2022-03-26 13:54:33 -07:00
config chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
electron chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
library test(role): add tests for implicit role calculation (#13132) 2022-03-28 15:22:50 -07:00
page test: out-of-viewport should be considered visible (#13134) 2022-03-28 16:10:16 -07:00
playwright-test fix(esm): make sure import from './foo.js' is supported (#13137) 2022-03-28 14:37:46 -07:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00