Giter Site home page Giter Site logo

Comments (3)

orther avatar orther commented on July 26, 2024

I'm running into the same issue. Here is the full output of the a11y job:

#!/bin/bash -eo pipefail 
node ./.circleci/proof-a11y.js 

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     3  100     3    0     0     29      0 --:--:-- --:--:-- --:--:--    29
yarn run v1.22.4
$ /home/circleci/design-system/node_modules/.bin/ds proof -u undefined --add-all --a11y --headless --skip-tests
Selenium installation [] 0% 41.6sSelenium installation [] 6% 0.2sSelenium installation [] 13% 0.2sSelenium installation [] 22% 0.2sSelenium installation [] 36% 0.1sSelenium installation [] 45% 0.1sSelenium installation [] 56% 0.1sSelenium installation [] 64% 0.1sSelenium installation [] 65% 0.1sSelenium installation [] 70% 0.1sSelenium installation [] 79% 0.0sSelenium installation [] 88% 0.0s🌟  complete     sessionId 6fd2b58ebbd696d9bd294673fa5467f4
💾  info         Sauce Labs URL undefined
🌟  complete     sessionId 8fdefb89ac684a077333fd67eb469b61
💾  info         Sauce Labs URL undefined
[proof.....] › 🚒  error        Error: element ("#storybook-preview-iframe") still not existing after 1000ms    at new WaitUntilTimeoutError (/home/circleci/design-system/node_modules/webdriverio/build/lib/utils/ErrorHandler.js:149:12)
    at /home/circleci/design-system/node_modules/webdriverio/build/lib/commands/waitUntil.js:29:19
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'proof-a11y.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at main (/home/circleci/design-system/.circleci/proof-a11y.js:21:8)
    at Object.<anonymous> (/home/circleci/design-system/.circleci/proof-a11y.js:53:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)

Exited with code exit status 1 
CircleCI received exit code 1 

from design-systems-cli.

tylerkrupicka avatar tylerkrupicka commented on July 26, 2024

Hey, sorry for the lack of replies so far on this thread. This error is caused by proof, our test runner. When you run --ally it creates a proof-ally.json file with the results. If your tests crash that file may not exist. @Peeja were you using CircleCI as well? We might just need to update the CircleCI default pipeline to not try to open that file if it doesn't exist.

from design-systems-cli.

Peeja avatar Peeja commented on July 26, 2024

@tylerkrupicka Yep, that was on CircleCI.

from design-systems-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.