Cypress Class — ui Architecture
Architecture documentation for the Cypress class in commands.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a1eee14d_0ab8_9214_a9e6_86467164b4c0["Cypress"] e91d8547_a204_d0f5_33e5_12f46d875f67["commands.ts"] a1eee14d_0ab8_9214_a9e6_86467164b4c0 -->|defined in| e91d8547_a204_d0f5_33e5_12f46d875f67
Relationship Graph
Source Code
packages/shadcn/test/fixtures/frameworks/remix-indie-stack/cypress/support/commands.ts lines 3–44
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Cypress {
interface Chainable {
/**
* Logs in with a random user. Yields the user and adds an alias to the user
*
* @returns {typeof login}
* @memberof Chainable
* @example
* cy.login()
* @example
* cy.login({ email: 'whatever@example.com' })
*/
login: typeof login;
/**
* Deletes the current @user
*
* @returns {typeof cleanupUser}
* @memberof Chainable
* @example
* cy.cleanupUser()
* @example
* cy.cleanupUser({ email: 'whatever@example.com' })
*/
cleanupUser: typeof cleanupUser;
/**
* Extends the standard visit command to wait for the page to load
*
* @returns {typeof visitAndCheck}
* @memberof Chainable
* @example
* cy.visitAndCheck('/')
* @example
* cy.visitAndCheck('/', 500)
*/
visitAndCheck: typeof visitAndCheck;
}
}
}
Domain
Source
Frequently Asked Questions
What is the Cypress class?
Cypress is a class in the ui codebase, defined in packages/shadcn/test/fixtures/frameworks/remix-indie-stack/cypress/support/commands.ts.
Where is Cypress defined?
Cypress is defined in packages/shadcn/test/fixtures/frameworks/remix-indie-stack/cypress/support/commands.ts at line 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free