From ec3a78d6f26808a79c6b897d2c9c3454f719990c Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Tue, 14 Jun 2022 16:23:57 +0300 Subject: [PATCH 1/3] Update config.yml --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5200203..b94b91a 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}" + + From 2794defe70afc38001addc1385253b47fdc15f98 Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Tue, 14 Jun 2022 16:27:09 +0300 Subject: [PATCH 2/3] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b94b91a..d38077a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,6 @@ jobs: 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}" From ad967ca6da7fe05a45550fcc8f74c174a5eb520d Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Tue, 14 Jun 2022 16:29:13 +0300 Subject: [PATCH 3/3] Update example-images.js --- test/example-images.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {