diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d03df8b9..edf23309 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -147,6 +147,5 @@ delete review: integration tests: stage: integration tests script: - - yarn install - - npx cypress install - - npx cypress run test-integration -c baseUrl="${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}" \ No newline at end of file + - docker build -t wallet-emulator-bridge-tests . + - docker run wallet-emulator-bridge-tests \ No newline at end of file diff --git a/package.json b/package.json index e0c4e428..2513ad4f 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,9 @@ "test": "run-s test:*", "test:unit": "npx jest", "test-unit:watch": "npx jest -o --watch", - "test-integration": "npx cypress run", - "test-integration:local": "npx cypress open", + "test-integration:dev": "npx cypress open", + "test-integration:test": "npx cypress run", + "test-integration:gitlab": "npx cypress run -c baseUrl=https://localhost:8080/#/", "server:beta": "node ./server/index.js --buildType=beta", "server:stable": "node ./server/index.js --buildType=stable" }, diff --git a/test/integration/left-menu.js b/test/integration/left-menu.js index 9d0ed6c3..ec8909e2 100644 --- a/test/integration/left-menu.js +++ b/test/integration/left-menu.js @@ -1,8 +1,7 @@ describe('Left Menu', () => { - beforeEach(() => { - cy.visit('https://localhost:8080/#/'); - cy.getTestElement('Modal__disclaimer__button__confirm').click(); - }); + // beforeEach(() => { + // cy.getTestElement('Modal__disclaimer__button__confirm').click(); + // }); it('divider', () => { cy.getTestElement('Main__page__coin__menu__divider') diff --git a/test/screenshots/left-menu/body.js/Left Menu - body -- top menu (failed).png b/test/screenshots/left-menu/body.js/Left Menu - body -- top menu (failed).png deleted file mode 100644 index 9e16bfb8..00000000 Binary files a/test/screenshots/left-menu/body.js/Left Menu - body -- top menu (failed).png and /dev/null differ