mirror of
https://github.com/Ombi-app/Ombi.git
synced 2024-11-23 05:50:09 -08:00
21bfc5a45a
* updates * test coverage on the plex settings page * features * Update cypress.yml * Update cypress.yml * Update cypress.yml * Update cypress.config.ts * fixes * stuff * put it back * a * always kill docker * Run the wizard as part of the feature files * fix? * slow the tests down * subby * Update user-preferences-profile.spec.ts * Update user-preferences-profile.spec.ts
15 lines
328 B
TypeScript
15 lines
328 B
TypeScript
|
|
Cypress.Commands.add('addMock', (mapping) => {
|
|
cy.request({
|
|
method: 'POST',
|
|
url: 'http://localhost:32400/__admin/mappings',
|
|
body: mapping
|
|
})
|
|
})
|
|
|
|
Cypress.Commands.add('clearMocks', () => {
|
|
cy.request({
|
|
method: 'DELETE',
|
|
url: 'http://localhost:32400/__admin/mappings'
|
|
})
|
|
}) |