Code Monkey home page Code Monkey logo

Comments (10)

rahulmr avatar rahulmr commented on August 10, 2024 1

Finally was able to fix your repository. See here
Will close this issue once I merge the code

from gulp-protractor.

rahulmr avatar rahulmr commented on August 10, 2024

could you please try running with node 6.10.0 npm 4.1.2 and jdk8? Please report back.

from gulp-protractor.

rahulmr avatar rahulmr commented on August 10, 2024

If possible share the repository details so that I can try it out if it is hosted on github.com as public.
Tests are working fine at my end, except that Firefox is having some issue. Chrome works fine.
Check logs here

from gulp-protractor.

Shyam-Chen avatar Shyam-Chen commented on August 10, 2024

I installed Java 8, but still can not work.

# Travis CI
5.07s$ if [[ "$MODE" == "e2e" ]]; then yarn run e2e; fi
yarn run v0.21.3
$ gulp e2e 
[11:35:19] Requiring external module babel-register
[11:35:23] Using gulpfile ~/build/Shyam-Chen/Frontend-Starter-Kit/gulpfile.babel.js
[11:35:23] Starting 'e2e'...
(node:3138) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[11:35:24] I/launcher - Running 1 instances of WebDriver
[11:35:24] E/local - Error code: 135
[11:35:24] E/local - Error message: No update-config.json found. Run 'webdriver-manager update' to download binaries.
[11:35:24] E/local - Error: No update-config.json found. Run 'webdriver-manager update' to download binaries.
    at Local.addDefaultBinaryLocs_ (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/protractor/lib/driverProviders/local.ts:47:15)
    at Local.setupDriverEnv (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/protractor/lib/driverProviders/local.ts:98:10)
    at Local.setupEnv (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/protractor/lib/driverProviders/driverProvider.ts:124:30)
    at q.then (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/protractor/lib/runner.ts:387:39)
    at _fulfilled (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/q/q.js:796:13)
    at /home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/q/q.js:857:14
    at runSingle (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/q/q.js:137:13)
    at flush (/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/node_modules/q/q.js:125:13)
[11:35:24] E/launcher - Process exited with error code 135
/home/travis/build/Shyam-Chen/Frontend-Starter-Kit/tools/tasks/e2e.js:22
      throw error;
      ^
Error: protractor exited with code 135
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command "if [[ "$MODE" == "e2e" ]]; then yarn run e2e; fi" exited with 1.

# .travis.yml
[...]
sudo: false
addons:
  apt:
    packages:
      - oracle-java8-installer
[...]

from gulp-protractor.

rahulmr avatar rahulmr commented on August 10, 2024

Could you please try to change your package.json to have gulp-protractor: "mllrsohn/gulp-protractor#spawn_to_fork" ? If it is able to fix then I can merge the changes. Also please check my .travis.yml present here.

Just check the new error which says that webdriver-update is not updated. Share your repo if its on github.

from gulp-protractor.

Shyam-Chen avatar Shyam-Chen commented on August 10, 2024

My boilerplate is here.

I use gulp-protractor here.

from gulp-protractor.

rahulmr avatar rahulmr commented on August 10, 2024

I tried some tests though I was not successful making it work with Linux or docker but it went great on windows. See tests on appveyor here.
I will try to make it work for Docker, I think you need to make some changes in your Dockerfile and the way tests are executed on Linux.

from gulp-protractor.

Shyam-Chen avatar Shyam-Chen commented on August 10, 2024

Awesome! I'll try it tomorrow. Thanks.

from gulp-protractor.

Shyam-Chen avatar Shyam-Chen commented on August 10, 2024

Thanks. It can run successfully. Shyam-Chen/Svelte-Starter@fde3124

from gulp-protractor.

rahulmr avatar rahulmr commented on August 10, 2024

Merged code with version upgrade

from gulp-protractor.

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.