mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
fix?
This commit is contained in:
parent
2187c0d7d4
commit
9f8e07fc42
3 changed files with 5 additions and 4 deletions
|
@ -15,6 +15,7 @@ export default defineConfig({
|
||||||
env: {
|
env: {
|
||||||
username: 'a',
|
username: 'a',
|
||||||
password: 'a',
|
password: 'a',
|
||||||
|
dockerhost: 'http://172.17.0.1'
|
||||||
},
|
},
|
||||||
projectId: 'o5451s',
|
projectId: 'o5451s',
|
||||||
e2e: {
|
e2e: {
|
||||||
|
|
|
@ -23,7 +23,7 @@ describe("Plex Settings Tests", () => {
|
||||||
"version": "1.30.0.6442-5070ad484",
|
"version": "1.30.0.6442-5070ad484",
|
||||||
"scheme": "http",
|
"scheme": "http",
|
||||||
"host": "2.2.2.2",
|
"host": "2.2.2.2",
|
||||||
"localAddresses": "http://host.docker.internal",
|
"localAddresses": "${Cypress.env("dockerhost")}",
|
||||||
"machineIdentifier": "9999999999999999",
|
"machineIdentifier": "9999999999999999",
|
||||||
"createdAt": "5555555555",
|
"createdAt": "5555555555",
|
||||||
"updatedAt": "6666666666",
|
"updatedAt": "6666666666",
|
||||||
|
@ -47,7 +47,7 @@ describe("Plex Settings Tests", () => {
|
||||||
|
|
||||||
const modal = Page.plexServerModal;
|
const modal = Page.plexServerModal;
|
||||||
modal.serverName.should('have.value','AutomationServer');
|
modal.serverName.should('have.value','AutomationServer');
|
||||||
modal.hostName.should('have.value','localhost');
|
modal.hostName.should('have.value', Cypress.env("dockerhost"));
|
||||||
modal.port.should('have.value','32400');
|
modal.port.should('have.value','32400');
|
||||||
modal.authToken.should('have.value','myaccessToken');
|
modal.authToken.should('have.value','myaccessToken');
|
||||||
modal.machineIdentifier.should('have.value','9999999999999999');
|
modal.machineIdentifier.should('have.value','9999999999999999');
|
||||||
|
@ -77,7 +77,7 @@ describe("Plex Settings Tests", () => {
|
||||||
// Edit server
|
// Edit server
|
||||||
Page.plexServerGrid.serverCardButton('AutomationServer').click();
|
Page.plexServerGrid.serverCardButton('AutomationServer').click();
|
||||||
modal.serverName.should('have.value','AutomationServer');
|
modal.serverName.should('have.value','AutomationServer');
|
||||||
modal.hostName.should('have.value','localhost');
|
modal.hostName.should('have.value', Cypress.env("dockerhost"));
|
||||||
modal.port.should('have.value','32400');
|
modal.port.should('have.value','32400');
|
||||||
modal.authToken.should('have.value','myaccessToken');
|
modal.authToken.should('have.value','myaccessToken');
|
||||||
modal.machineIdentifier.should('have.value','9999999999999999');
|
modal.machineIdentifier.should('have.value','9999999999999999');
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"cypress:version": "cypress version",
|
"cypress:version": "cypress version",
|
||||||
"cypress:verify": "cypress verify",
|
"cypress:verify": "cypress verify",
|
||||||
"cypress:open": "cypress open --config baseUrl=http://localhost:3577",
|
"cypress:open": "cypress open --config baseUrl=http://localhost:3577 --env dockerhost=http://localhost",
|
||||||
"cypress:run": "cypress run",
|
"cypress:run": "cypress run",
|
||||||
"types": "tsc --noEmit",
|
"types": "tsc --noEmit",
|
||||||
"e2e": "cypress run",
|
"e2e": "cypress run",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue