Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(QDialog): add QDialog tests (#16636)
* test(QDialog): add QDialog tests * test(QDialog): improve test stability * test(use-model-toggle): improve test stability * test(QDialog): refactor and fix some tests * test(QDialog): refactor and improve tests * chore(ui) upgrade test deps * test(QDialog): refactor some tests to be more readable * test(use-model-toggle): revert changes on use-model-toggle and prefer stopping animation on QMenu to fix event issues - After a dialog has been closed, the hide event is fired only after the duration transitionDuration has elapsed. transitionDuration is a prop passed to use-model-toggle.js and has a default value of 300ms. Hence, we cannot depend on the dialog closing to conclude that the event has been fired. Setting transitionDuration to 0 ensures it fires immediately * test(use-model-toggle): add test for 'hide' event interaction with transition duration prop * test(QDialog): apply vModelAdapter fix --------- Co-authored-by: Paolo Caleffi <[email protected]>
- Loading branch information