Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added e2e tests with adding images for saved layouts * fixed checkbox check for e2e tests * added disabled click action e2e test for saved layout * added e2e tests for archive page pagination with "Load More" button, testing both post name and plain permalink structures * added e2e tests for archive page pagination with Infinity, testing both post name and plain permalink structures * Improved getWordpressImages e2e function: now we check image before add it to wordpress * disabled no-console error for e2e archive tests * added load more and infinity e2e archive tests and refactored all code. Now we used rest for adding and remove fixtures * added e2e test fixtures for archive infinity and load more tests * added additional timeout for fixed actions awaiting errors with rest * added setPermalinkSettings running before each test * added uploadMediaWithRetry function for getWordpressImages test method * added archive debug artifacts task for e2e tests * changed get terms rest method to POST * changed afterAll methods priority calling * added e2e additional checks for rest methods and error handlers * added e2e retry mechanism for REST API calls in case of an error. * changed e2e configuration timeout * tested changed for check e2e logs * returned e2e taxonomy rest method * fixed e2e deletePortfolioTaxonomyTerms function and added logsEnabled for archive tests * fixed php unit error * Update playwright.config.js * Update package.json * added webp and gif formats to test images compressed test images * fixed a bug with displaying category links on archive pages * improved archive tests: removed all delays and sped up the functions * updated e2e archive fixtures and added categories to items * limited e2e archive logging to an internal constant and added additional error handlers * fixed methods of adding images for e2e tests: now images are loaded into the system once * added await construction for checking image settings test * added some logs for e2e checking image settings test * added fixture existence validation to the e2e checking alternative image settings on saved layout test --------- Co-authored-by: Nikita <[email protected]>
- Loading branch information