mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
fix: More automation tests mainly around the Plex Settings page (#4821)
* 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
This commit is contained in:
parent
5f60950802
commit
21bfc5a45a
36 changed files with 15340 additions and 18715 deletions
23
tests/cypress/fixtures/mocks/plex/plex-libraries.mock.json
Normal file
23
tests/cypress/fixtures/mocks/plex/plex-libraries.mock.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"urlPattern": "/library/sections"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"jsonBody": {
|
||||
"mediaContainer": {
|
||||
"directory":[
|
||||
{ "key": "1", "title": "lib1"},
|
||||
{ "key": "2", "title": "lib2"},
|
||||
{ "key": "3", "title": "lib3"},
|
||||
{ "key": "4", "title": "lib4"},
|
||||
{ "key": "5", "title": "lib5"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
}
|
||||
}
|
16
tests/cypress/fixtures/mocks/plex/plex-test.mock.json
Normal file
16
tests/cypress/fixtures/mocks/plex/plex-test.mock.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "GET"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"jsonBody": {
|
||||
"mediaContainer": {
|
||||
"version": "99"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue