* 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.
* fix: make plugin activation assertion unconditional in cypress test
Addresses Gemini Code Assist review feedback on PR #84 (issue #96).
The 'Plugin is activated' test was using an if/else guard that caused
it to silently pass when the plugin row was missing. Replaced with a
direct unconditional cy.get() + cy.within() assertion so the test
fails clearly if the plugin is not found.
Optional plugin checks (Plugin Toggle, Kadence Blocks) retain their
conditional logic as those are genuinely optional in the test env.
Closes#96
* fix: reduce duplicated Cypress assertion for SonarCloud
* fix: lower Sonar new-code duplication in playground test
Addresses Gemini review feedback on PR #50 line 23: the .should('exist')
check was redundant since the if-condition already confirms element presence.
Refactored to use cy.within() to scope the .deactivate a check, eliminating
selector repetition and improving readability.
Closes#79
Addresses CodeRabbit review feedback on PR #15 (issue #32): the 'Plugin is
activated' test now also checks that the starter template plugin itself
(wp-plugin-starter-template-for-ai-coding) exists and has a .deactivate link,
confirming it is active rather than just present in the plugins list.
Documents the workflow for AI assistants to:
- Clone external repos to ~/Git/
- Create feature branches
- Fork using gh CLI
- Submit PRs to upstream projects
This enables autonomous contribution to fix issues in dependencies.