We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e490ee commit 1796300Copy full SHA for 1796300
tests/cypress/support/commands.js
@@ -611,11 +611,11 @@ Cypress.Commands.add( 'cleanupTestPosts', () => {
611
/**
612
* Update a WordPress option.
613
*
614
- * @param {string} optionName - The name of the option to update
615
- * @param {string} optionValue - The new value for the option
+ * @param {string} name - The name of the option to update
+ * @param {string} value - The new value for the option
616
*/
617
-Cypress.Commands.add( 'updateOption', ( optionName, optionValue ) => {
618
- cy.task( 'updateOption', { optionName, optionValue } );
+Cypress.Commands.add( 'updateOption', ( name, value ) => {
+ cy.task( 'updateOption', { name, value } );
619
} );
620
621
0 commit comments