diff --git a/Jenkinsfile b/Jenkinsfile index cf4ddbcc2..eac824c78 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -117,10 +117,11 @@ pipeline { sh 'rm junit/e2e-*.xml || true' env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev' + def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs') + sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY' sh "docker-compose ${env.COMPOSE_PARAMS} up -d" - def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs') image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") { sh 'sh test/cypress/cypressParallel.sh 2' } diff --git a/test/cypress/integration/item/ItemFixedPrice.spec.js b/test/cypress/integration/item/ItemFixedPrice.spec.js index 2cf9c2caf..404e8e365 100644 --- a/test/cypress/integration/item/ItemFixedPrice.spec.js +++ b/test/cypress/integration/item/ItemFixedPrice.spec.js @@ -3,7 +3,6 @@ function goTo(n = 1) { return `.q-virtual-scroll__content > :nth-child(${n})`; } const firstRow = goTo(); -`.q-virtual-scroll__content > :nth-child(2)`; describe('Handle Items FixedPrice', () => { beforeEach(() => { cy.viewport(1280, 720); diff --git a/test/cypress/integration/outLogin/logout.spec.js b/test/cypress/integration/outLogin/logout.spec.js index bcdacec78..373f0cc93 100644 --- a/test/cypress/integration/outLogin/logout.spec.js +++ b/test/cypress/integration/outLogin/logout.spec.js @@ -2,7 +2,7 @@ describe('Logout', () => { beforeEach(() => { cy.login('developer'); - cy.visit(`/#/dashboard`); + cy.visit(`/#/dashboard`, false); cy.waitForElement('.q-page', 6000); }); describe('by user', () => {