Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -14,16 +14,16 @@
|
||||
// https://on.cypress.io/custom-commands
|
||||
// ***********************************************
|
||||
// -- This is a parent command --
|
||||
import '@4tw/cypress-drag-drop'
|
||||
import "@4tw/cypress-drag-drop";
|
||||
|
||||
/**
|
||||
* Sets authentication cookies to simulate a logged-in user.
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
Cypress.Commands.add('login', () => {
|
||||
cy.setCookie('luciaToken', 'fake-access-token-for-testing');
|
||||
cy.setCookie('isLuciaLoggedIn', 'true');
|
||||
Cypress.Commands.add("login", () => {
|
||||
cy.setCookie("luciaToken", "fake-access-token-for-testing");
|
||||
cy.setCookie("isLuciaLoggedIn", "true");
|
||||
});
|
||||
// Usage: cy.login()
|
||||
// -- This is a child command --
|
||||
@@ -33,8 +33,8 @@ Cypress.Commands.add('login', () => {
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
Cypress.Commands.add('closePopup', () => {
|
||||
Cypress.Commands.add("closePopup", () => {
|
||||
// Trigger a forced click to close modal overlays consistently.
|
||||
cy.get('body').click({ position: 'topLeft'});
|
||||
cy.get("body").click({ position: "topLeft" });
|
||||
cy.wait(1000);
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user