fix(cypress): flaky live photo test grid_view trigger issue #50025
fix(cypress): flaky live photo test grid_view trigger issue #50025
Conversation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
e8cb458 to
43b3ad1
Compare
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
f86553b to
bc523f6
Compare
|
/backport bc523f6 to stable30 |
|
/backport bc523f6 to stable29 |
|
Just to have this documented somewhere. The original issue comes from a "little" sideeffect of cypress'
(https://docs.cypress.io/api/commands/type#When-element-is-not-in-focus) Since the dialog is not focused, a click is done by cypress in the middle of the dialog, which happens to be the |
Shouldn't it always take the focus on open? 🤔 |
|
Since we click on the checkbox input, that one has the input, not the dialog itself. Probably (didn't test) if we do the type on the input element it would work correctly. |
WIP