webiny-js
webiny-js copied to clipboard
Cypress Tests - Batch 6
Changes
- Created new test for validating newly created and edited blocks with headers
- Refactored graphQL method for creating blocks so that it can now create blocks containing headers
- Replaced all usages of nanoid as suggested here by Pavel https://github.com/webiny/webiny-js/pull/3658#discussion_r1378694682
- Refactored usages of cy.visit and Cypress.env with cy.visitWebsite for better readability.
How Has This Been Tested?
Using eslint and CI checks.
Documentation
No Jira ticket currently exists but for a description of the required changes visit: https://www.notion.so/webiny/Webiny-Testing-43be8707c3df48cbbf87d06a57720faa
/cypress
Cypress E2E tests have been initiated (for more information, click here). :sparkles: