From cf11c3bf36028b28a082f8b241d4e8092b4a1597 Mon Sep 17 00:00:00 2001 From: helenanull Date: Tue, 5 Sep 2023 13:55:35 +0300 Subject: [PATCH] test --- .circleci/config.yml | 31 +++---------------------------- package.json | 2 +- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a3d7831..023dc41 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,33 +1,8 @@ version: 2.1 orbs: - cypress: cypress-io/cypress@2.1.0 + cypress: cypress-io/cypress@3.1.3 workflows: build: jobs: - - cypress/install: - build: 'npm install' - - cypress/run: - requires: - - cypress/install - record: true # record results on Cypress Dashboard - parallel: true # split all specs across machines - parallelism: 2 # use 2 CircleCI machines to finish quickly - group: 'all tests' - weekly: - triggers: - - schedule: - cron: "0 0 * * 0" - filters: - branches: - only: - - main - jobs: - - cypress/install: - build: 'npm install' - - cypress/run: - requires: - - cypress/install - record: true # record results on Cypress Dashboard - parallel: true # split all specs across machines - parallelism: 2 # use 2 CircleCI machines to finish quickly - group: 'all tests' + - cypress/run # "run" job comes from "Cypress" orb + start-command: 'npm run cy:ci' diff --git a/package.json b/package.json index 36dfff0..1a4109d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "cy:open:web": "cypress open --e2e --browser=chrome --env device=web", "cy:run:mob": "cypress run --browser=chrome --env device=mob", "cy:run:web": "cypress run --env device=web", - "cy:ci": "cypress run --env device=web --record --parallel --browser ~/project/chrome --headless --group=all_tests" + "cy:ci": "cypress run --env device=web --record --parallel --browser chrome --headless" }, "devDependencies": { "cypress": "^13.1.0",