Files
wp-plugin-starter-template-…/cypress.config.js
Marcus Quinn 4228bcc330 fix: simplify responsive breakpoint comment in admin-styles.css (issue #93) (#105)
* fix: remove redundant Responsive Styles comment in admin-styles.css (issue #93)

Removes the generic '/* Responsive Styles */' comment that was redundant
alongside the specific '/* 782px is the WordPress mobile admin breakpoint. */'
comment, per Gemini Code Assist review feedback on PR #87.

Closes #93

* fix: add missing trailing commas to fix comma-dangle lint errors

Fixes ESLint comma-dangle errors in:
- cypress.config.js (lines 15-16): missing trailing commas on
  chromeWebSecurity property and closing e2e object brace
- cypress/e2e/playground-single-site.cy.js (line 23): missing trailing
  comma on expect() message argument

Also updates eslint-plugin-cypress from ^2.15.1 to ^6.2.0 to resolve
peer dependency conflict that prevented local lint verification.
2026-03-18 22:57:17 +00:00

18 lines
499 B
JavaScript

/* eslint-env node, mocha */
const { defineConfig } = require('cypress');
module.exports = defineConfig({
e2e: {
baseUrl: 'http://localhost:8888',
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,
chromeWebSecurity: false,
},
});