1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-04-21 09:39:03 +00:00

First POC test in gitlab

This commit is contained in:
Vladimir Volek 2019-01-16 15:11:13 +01:00
parent d6f1688e1c
commit 30ba930772
4 changed files with 8 additions and 9 deletions

View File

@ -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}"
- docker build -t wallet-emulator-bridge-tests .
- docker run wallet-emulator-bridge-tests

View File

@ -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"
},

View File

@ -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')

Binary file not shown.

Before

(image error) Size: 91 KiB