cypress-wp-utils
cypress-wp-utils copied to clipboard
Utilities library for WordPress E2E testing in the Cypress environment
Should we support Classic Editor and WordPress versions prior to Block Editor within this library?
When writing Block Editor related commands, I thought that it might be handy to make some of commands to be compatible with both approaches (Block vs Classic editor). - Working...
### Is your enhancement related to a problem? Please describe. The WordPress.org API includes an API endpoint for receiving the latest version of WordPress core: http://api.wordpress.org/core/version-check/1.7/ (the HTTP endpoint returns...
### Describe the bug When trying to use `insertBlock` to insert a block variation with multiple backslashes (i.e. `core/query/10up/content-grid`, the block cannot be found in the inserter, as the first...
### Describe the bug In some testing scenarios user might change the tab from "Visual" to "Text". The next call of classicCreatePost() will fail. ### Steps to Reproduce ```javascript //...
### Is your enhancement related to a problem? Please describe. It's very nice to have a way to repopulate data like posts/pages/options before testing. ### Designs I'm thinking about using...
Related #91 ### Is your enhancement related to a problem? Please describe. Currently the commands we have take a UI approach. There are a few problems with this: - UI...
### Description of the Change After merging in #135, noticed that some E2E tests were failing on `develop`. In investigating, found a few issues that this PR fixes: - In...
### Describe the bug While working on fixing Distributor E2E tests, I noticed flakiness in the `insertBlock` command (specifically with oEmbed and Image blocks). The flaky behavior is mostly in...