Adding E2E Tests #2795
Labels
Enhancement
New feature or improvement of an existing one
Epic
Needs Tests
Task
Tasks which do not involve engineering
WS:Core
Work stream for Plugin core
Now that we have the E2E testing infrastructure set up (see #2696), we should look into how we can best leverage that to further improve code quality and catch bugs in the AMP Stories editor.
While we of course can add E2E tests for all aspects of the AMP plugin, we should focus on AMP Stories first. Still, I am mentioning some of the other areas in the plugin here.
#2779 is related, but I'd want to focus on E2E tests first instead of the unit tests, as I think here we have the bigger opportunity to solidify the AMP Stories editor.
Ideally, going forward we add E2E tests whenever we work on an area that is a good fit for such a test or when we introduce a new feature. Then, later we can go through pre-existing areas to add them.
Testable Areas
The following list is not necessarily complete, but should give a good idea about what we can and should test.
Infrastructure Changes
expect(instance).toMatchElement(selector[, options])
instead of XPath -> E2E Tests: Avoid using XPath #2888.The text was updated successfully, but these errors were encountered: