Skip to content

Commit

Permalink
Skip flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed Feb 11, 2022
1 parent 2efb677 commit 2282480
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ workflows:
# this avoids installing same dependencies 10 times
requires:
- cypress/install
browser: chrome
# notice a trick to avoid re-installing dependencies
# in this job - a do-nothing "install-command" parameter
install-command: echo 'Nothing to install in this job'
Expand All @@ -58,8 +59,8 @@ workflows:
command: |
TESTFILES=$(circleci tests glob "cypress/integration/**/*spec.{js,jsx,ts,tsx}" | circleci tests split --total=2)
echo "Test files for this machine are $TESTFILES"
npx cypress run --spec $TESTFILES --browser chrome
- release:
npx cypress run --spec $TESTFILES
- release:
name: NPM release
filters:
branches:
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/touch.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe("cy.realTouch", () => {
describe.skip("cy.realTouch", () => {
beforeEach(() => {
cy.visit("https://example.cypress.io/commands/actions");
});
Expand Down

0 comments on commit 2282480

Please sign in to comment.