First POC test in gitlab

pull/311/head
Vladimir Volek 5 years ago
parent d6f1688e1c
commit 30ba930772

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

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

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

Width:  |  Height:  |  Size: 91 KiB

Loading…
Cancel
Save