77 | 86 |
87 |
93 |
94 |
95 | [ 'href' => true ] ] ); ?>
96 |
132 | 133 |
134 | 135 | 142 |258 | 259 |
260 |Paragraph duis fringilla maximus ullamcorper. Sed id nulla semper, varius augue eu, cursus sapien. In hac habitasse platea dictumst.
8 | 9 | 10 | 11 |24 |27 | -------------------------------------------------------------------------------- /tests/cypress/support/commands.js: -------------------------------------------------------------------------------- 1 | // *********************************************** 2 | // This example commands.js shows you how to 3 | // create various custom commands and overwrite 4 | // existing commands. 5 | // 6 | // For more comprehensive examples of custom 7 | // commands please read more here: 8 | // https://on.cypress.io/custom-commands 9 | // *********************************************** 10 | // 11 | // 12 | // -- This is a parent command -- 13 | // Cypress.Commands.add('login', (email, password) => { ... }) 14 | // 15 | // 16 | // -- This is a child command -- 17 | // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) 18 | // 19 | // 20 | // -- This is a dual command -- 21 | // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) 22 | // 23 | // 24 | // -- This will overwrite an existing command -- 25 | // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) 26 | -------------------------------------------------------------------------------- /tests/cypress/support/e2e.js: -------------------------------------------------------------------------------- 1 | // *********************************************************** 2 | // This example support/e2e.js is processed and 3 | // loaded automatically before your test files. 4 | // 5 | // This is a great place to put global configuration and 6 | // behavior that modifies Cypress. 7 | // 8 | // You can change the location of this file or turn off 9 | // automatically serving support files with the 10 | // 'supportFile' configuration option. 11 | // 12 | // You can read more here: 13 | // https://on.cypress.io/configuration 14 | // *********************************************************** 15 | 16 | import "@10up/cypress-wp-utils"; 17 | 18 | // Import commands.js using ES2015 syntax: 19 | import "./commands"; 20 | -------------------------------------------------------------------------------- /tests/cypress/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "types": ["cypress"] 5 | }, 6 | "include": ["**/*.*"] 7 | } 8 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | const defaultConfig = require('@wordpress/scripts/config/webpack.config'); 2 | 3 | module.exports = { 4 | ...defaultConfig, 5 | entry: { 6 | ...defaultConfig.entry, 7 | editor: './assets/js/editor/editor.js', 8 | }, 9 | module: { 10 | ...defaultConfig.module, 11 | }, 12 | }; 13 | --------------------------------------------------------------------------------Quote commodo molestie dui, ut convallis sapien sodales vel. Mauris at commodo ante, eu tristique justo. Duis elementum egestas nulla, bibendum eleifend massa hendrerit sit amet. Sed id ipsum et velit lacinia mattis. Mauris facilisis non ante id elementum.
25 | J. Smith 26 |