From a4ee1a399dbf31b8737cb4805721025e053a2056 Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Thu, 14 Jul 2022 19:16:16 +0300 Subject: [PATCH 1/4] Update example-images.js --- test/example-images.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/example-images.js b/test/example-images.js index 5eeff95..8e94696 100644 --- a/test/example-images.js +++ b/test/example-images.js @@ -28,14 +28,14 @@ describe('Eyes-Images', () => { it('Images test', async () => { await eyes.open('Applitools site', 'Screenshot test!', {width: 800, height: 600}); - await eyes.check('URL', Target.image('https://i.ibb.co/bJgzfb3/applitools.png')); + // await eyes.check('URL', Target.image('https://i.ibb.co/bJgzfb3/applitools.png')); const imageBuffer = await fetch('https://i.ibb.co/bJgzfb3/applitools.png').then(resp => resp.buffer()); - await eyes.check('Buffer', Target.image(imageBuffer)); + //await eyes.check('Buffer', Target.image(imageBuffer)); - await eyes.check('file path', Target.image(path.resolve(__dirname, 'applitools.png'))); + //await eyes.check('file path', Target.image(path.resolve(__dirname, 'applitools.png'))); - await eyes.check('base 64 string', Target.image(imageBuffer.toString('base64'))); + //await eyes.check('base 64 string', Target.image(imageBuffer.toString('base64'))); await eyes.close(); }) From 025f33d04e34b1325d10efe013ddd3be8811b6a9 Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Mon, 25 Jul 2022 11:53:24 +0300 Subject: [PATCH 2/4] Update config.yml --- .circleci/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 048eda1..a92a92a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,19 @@ jobs: working_directory: ~/repo steps: + - run: + name: Creating Dummy Artifacts + command: | + echo "my artifact file" > /tmp/artifact-1; + mkdir /tmp/artifacts; + echo "my artifact files in a dir" > /tmp/artifacts/artifact-2; + + - store_artifacts: + path: /tmp/artifact-1 + destination: artifact-file + + - store_artifacts: + path: /tmp/artifacts - checkout: - run: printenv - run: From 86a136b91940f977166a27abb976ac327511eea2 Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Mon, 25 Jul 2022 11:55:33 +0300 Subject: [PATCH 3/4] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a92a92a..8dc4527 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,11 +12,9 @@ jobs: echo "my artifact file" > /tmp/artifact-1; mkdir /tmp/artifacts; echo "my artifact files in a dir" > /tmp/artifacts/artifact-2; - - store_artifacts: path: /tmp/artifact-1 destination: artifact-file - - store_artifacts: path: /tmp/artifacts - checkout: From 7d5f9113ba4afbdfeb32f35d4dd6c49b443e2c3e Mon Sep 17 00:00:00 2001 From: Plakhota <90543395+Plakhota@users.noreply.github.com> Date: Mon, 25 Jul 2022 11:59:08 +0300 Subject: [PATCH 4/4] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8dc4527..cc7577e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,14 +9,14 @@ jobs: - run: name: Creating Dummy Artifacts command: | - echo "my artifact file" > /tmp/artifact-1; - mkdir /tmp/artifacts; - echo "my artifact files in a dir" > /tmp/artifacts/artifact-2; + echo "my artifact file" > ./artifact-1; + mkdir ./artifacts; + echo "my artifact files in a dir" > ./artifacts/artifact-2; - store_artifacts: - path: /tmp/artifact-1 + path: ./artifact-1 destination: artifact-file - store_artifacts: - path: /tmp/artifacts + path: ./artifacts - checkout: - run: printenv - run: