Chainable Type — ui Architecture
Architecture documentation for the Chainable type/interface in commands.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a4279172_17b4_b060_77cf_7c64172ecc6d["Chainable"] e91d8547_a204_d0f5_33e5_12f46d875f67["commands.ts"] a4279172_17b4_b060_77cf_7c64172ecc6d -->|defined in| e91d8547_a204_d0f5_33e5_12f46d875f67 style a4279172_17b4_b060_77cf_7c64172ecc6d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/test/fixtures/frameworks/remix-indie-stack/cypress/support/commands.ts lines 6–42
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;
}
Source
Frequently Asked Questions
What is the Chainable type?
Chainable is a type/interface in the ui codebase, defined in packages/shadcn/test/fixtures/frameworks/remix-indie-stack/cypress/support/commands.ts.
Where is Chainable defined?
Chainable is defined in packages/shadcn/test/fixtures/frameworks/remix-indie-stack/cypress/support/commands.ts at line 6.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free