From 7545cbbf91bd0ce50941fb2c688248a61d0dfc23 Mon Sep 17 00:00:00 2001 From: pivi Date: Mon, 6 Nov 2023 10:07:03 +0100 Subject: [PATCH] COnfigure Synpress Ci --- .github/workflows/test.yml | 16 ++++++++++++++++ cypress/e2e/login.spec.ts | 4 +--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c920da8e5..a9068bda0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,3 +18,19 @@ jobs: run: npm ci - name: build run: npm run build + + + + test-synpress-e2e: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "npm" + - name: Install dependencies + run: npm ci + - name: Run Synpress tests (cypress-action) + run: npm run synpress + diff --git a/cypress/e2e/login.spec.ts b/cypress/e2e/login.spec.ts index 9aacb1d75..a56f84be4 100644 --- a/cypress/e2e/login.spec.ts +++ b/cypress/e2e/login.spec.ts @@ -1,6 +1,4 @@ -//TODO: add CI testing - -describe('Bridge | Connect | MestaMask | Connect And Switch', () => { +describe('Bridge | Connect | MestaMask | Connect', () => { afterEach(() => { cy.disconnectMetamaskWalletFromDapp(); });