Created by: AlexanderMoskovkin
Hi,
This PR is a proposal to add e2e tests for bootstrap components using the TestCafe testing framework.
For demonstration, I've created two tests for your tests/visual/modal.html
page.
While creating these tests, I've found a behavior that looks like a bug:
- Open the modal dialog
- Hover over the link that shows a tooltip
- Then try to close the modal dialog.
- It's not closed, and the
Tooltip is transitioning
JS-error is raised.
I've created a test for this case (Demonstrate Modal page is not closed issue
) and it fails so far (https://travis-ci.org/twbs/bootstrap/jobs/198761611#L1190).
If you are interested in e2e tests, I can take this task and create tests for all components, or I can assist those who will do it. If necessary, it is possible to setup e2e testing on headless browsers or on saucelabs (you can see the details about it in the How to set up E2E browser testing for your GitHub project article)
What do you think about it?