diff --git a/.circleci/config.yml b/.circleci/config.yml index 048eda1..cc7577e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,17 @@ jobs: working_directory: ~/repo steps: + - run: + name: Creating Dummy Artifacts + command: | + echo "my artifact file" > ./artifact-1; + mkdir ./artifacts; + echo "my artifact files in a dir" > ./artifacts/artifact-2; + - store_artifacts: + path: ./artifact-1 + destination: artifact-file + - store_artifacts: + path: ./artifacts - checkout: - run: printenv - run: 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(); })