https://github.com/lejeanbono/cypress-mysql
Cypress plugin to easily request MySQL database
https://github.com/lejeanbono/cypress-mysql
cypress cypress-plugin database e2e mysql testing-tools
Last synced: 28 days ago
JSON representation
Cypress plugin to easily request MySQL database
- Host: GitHub
- URL: https://github.com/lejeanbono/cypress-mysql
- Owner: LeJeanbono
- Created: 2022-01-28T23:47:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-24T21:22:45.000Z (about 1 month ago)
- Last Synced: 2025-09-24T23:28:27.478Z (about 1 month ago)
- Topics: cypress, cypress-plugin, database, e2e, mysql, testing-tools
- Language: TypeScript
- Homepage:
- Size: 434 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Cypress MySQL Plugin



## Query
```javascript
cy.query('SELECT * FROM myTable').then(datas => {
// array object
})
```
```javascript
cy.query('SELECT * FROM myTable').then(datas => {
// array MyObject
})
```
## SELECT
```javascript
// SELECT * FROM myTable
cy.selectAll({ table: 'myTable' }).then(datas => {
// array object
})
```
```javascript
// SELECT * FROM myTable
cy.selectAll({ table: 'myTable' }).then(datas => {
// array MyObject
})
```
## CREATE
## DROP
## DELETE
## INSERT