Git Product home page Git Product logo

coge2e's People

Contributors

adamkosmala avatar dependabot[bot] avatar jplucinski avatar twiernik avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

adamkosmala

coge2e's Issues

Current setup doesn't work on case-sensitive file systems

If you try running the setup on a case-sensitive file system (hello, fellow Linux users!) you'll get the following error (this is for Protractor, but the same is true for Puppeteer):

Could not read packageTemplate.json file in the ${tool} folder! { Error: ENOENT: no such file or directory, lstat '/home/user/npm/lib/node_modules/@cognifide/e2e/templates/Protractor' errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/user/npm/lib/node_modules/@cognifide/e2e/templates/Protractor' }
This is caused by the fact that the Linux file system, unlike OS X and Windows, is case-sensitive. So the node modules installed for the user have the path ".../@cognifide/e2e/templates/protractor" and ".../@cognifide/e2e/templates/puppeteer", while the options in questions.js point to "Protractor" and "Puppeteer".

A quick workaround was to rename the dirs in my local node_modules but it would be cool to address this issue in the future by either changing the choices in questions.js to lowercase (seems a bit better) or renaming the template subfolders (clunky). This shouldn't break anything for all the other users but make our lives a bit easier :)

Improve Puppeteer info in the README

  1. Adding / configuring environments
    In the readme it says

Tests can be run on specific environment by running scripts like npm run test:prod.

but there's no info where to find and modify the list of available environments (compare with the much more descriptive Protractor setup info).

  1. Running test suites and excluding tests from running
    The Protractor part includes info on how to run only certain test suites and/or how to exclude tests from running. It would be good to have this info readily available for Puppeteer as well.

Documentation issues

  • Please add installation snippet via yarn and npx

  • "How to write protractor tests" is used in both Puppeteer section and Protractor secion

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.