REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 947 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/cy/cypress.doc.md
Text
Base64
### Cypress helpers This module gathers helpers which can be used when you E2E test your AdminJS dashboard with {@link https://www.cypress.io/} as we do. ### Usage First, you have to import helpers to your cypress project. You can do this in: `/support/index.js` or `/support/commands.js` ```javascript require('adminjs/cy') ``` and now you can use our helpers ```javascript /// <reference types="cypress" /> /// <reference types="adminjs/cy" /> context('resources/Company/actions/new', () => { before(() => { cy.abLoginAPI({ password: Cypress.env('ADMIN_PASSWORD'), email: Cypress.env('ADMIN_EMAIL') }) }) beforeEach(() => { cy.abKeepLoggedIn({ cookie: Cypress.env('COOKIE_NAME') }) cy.visit('resources/Company/actions/new') }) //... }) ``` ### What we have Cypress helpers project is currently in the WIP/POC phase, that is why there are not much helpers here. But you can expect that gradually we will add more.
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
commands
DIR
-
drwxr-xr-x
2026-02-28 00:28:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cypress.doc.md
947 B
lrw-r--r--
2026-02-28 00:31:56
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.d.ts
509 B
lrw-r--r--
2026-02-28 00:32:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
197 B
lrw-r--r--
2026-02-28 00:31:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.md
12.85 KB
lrw-r--r--
2026-02-28 00:31:56
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).