Fix code quality issues: update Cypress tests to use custom commands, fix workflow files, update documentation

This commit is contained in:
2025-04-22 22:10:55 +01:00
parent 953bf3f6bb
commit f3d6bd2434
6 changed files with 36 additions and 48 deletions

View File

@@ -1,13 +1,14 @@
/* eslint-env node */
/* eslint-env node, mocha */
const { defineConfig } = require('cypress');
module.exports = defineConfig({
e2e: {
baseUrl: 'http://localhost:8888',
setupNodeEvents() {
setupNodeEvents(on, config) {
// This function can be used to register custom Cypress plugins or event listeners.
// Currently not in use, but left for future extensibility.
return config;
},
// Add configuration for WordPress Playground
experimentalWebKitSupport: true,