diff --git a/.circleci/config.yml b/.circleci/config.yml index 5200203..d38077a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,4 +29,7 @@ jobs: export APPLITOOLS_BRANCH_NAME=$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH curl -v -L -d '' -X POST "eyesapi.applitools.com/api/externals/github/push?apiKey=$APPLITOOLS_API_KEY&CommitSha=$CIRCLE_SHA1&BranchName=$APPLITOOLS_BRANCH_NAME" APPLITOOLS_DONT_CLOSE_BATCHES=false npm test + curl -v -L -d '' -X POST "eyesapi.applitools.com/api/externals/github/servers/github.com/commit/${APPLITOOLS_BATCH_ID}/complete?apiKey=${APPLITOOLS_API_KEY}" + curl -v -X DELETE "eyesapi.applitools.com/api/sessions/batches/${APPLITOOLS_BATCH_ID}/close/bypointerid?apiKey=${APPLITOOLS_API_KEY}" + diff --git a/test/example-images.js b/test/example-images.js index 5eeff95..1c2717a 100644 --- a/test/example-images.js +++ b/test/example-images.js @@ -37,7 +37,7 @@ describe('Eyes-Images', () => { await eyes.check('base 64 string', Target.image(imageBuffer.toString('base64'))); - await eyes.close(); + await eyes.close(false); }) afterEach(async () => {