Giter Site home page Giter Site logo

Comments (5)

juliemr avatar juliemr commented on May 5, 2024

Are you running the test suite with jasmine-node? I recently switched it to use the protractor binary, so now the test suite should be run with

bin/protractor conf.js

When I use jasmine-node spec, you'll get the errors you see above.

I'll update the README to make this clear!

from protractor.

sesteva avatar sesteva commented on May 5, 2024

Actually. I'm using the same command. Bin/protractor. I even installed it
globally and that did not work.

On Tuesday, June 25, 2013, Julie Ralph wrote:

Are you running the test suite with jasmine-node? I recently switched it
to use the protractor binary, so now the test suite should be run with

bin/protractor conf.js

When I use jasmine-node spec, you'll get the errors you see above.

I'll update the README to make this clear!


Reply to this email directly or view it on GitHubhttps://github.com/juliemr/protractor/issues/13#issuecomment-20025623
.

from protractor.

juliemr avatar juliemr commented on May 5, 2024

Docs fixed with b15b7bd

from protractor.

juliemr avatar juliemr commented on May 5, 2024

Just saw your update. Can you copy your entire command line?

EDIT (further questions): Can you run any of the example tests? e.g.

protractor/bin example/protractorConf.js
mocha example/onMocha.js
jasmine-node example/onJasmineNodeSpec.js

I've just tried cloning on a clean computer and everything works fine for me.

from protractor.

sesteva avatar sesteva commented on May 5, 2024

Julie. I started again and I had no problems whatsoever. These are the steps I followed.

Setup

git clone https://github.com/juliemr/protractor.git protractor
cd protractor
npm install

Execute Example Tests Suite against angular site

cd protractor
bin/protractor example/protractorConf.js

Output: all green...:)

Execute Tests Suite on the testApp

on terminal 1:

cd protractor/testapp
node scripts/web-server.js

The testApp is now accesible at http://localhost:8000/

on terminal 2:

cd protractor
bin/protractor conf.js

Output: all green...:)

Thank you for your help!

from 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.