biojs / registry-ui

OLD BioJS registry frontend. For new repo, see https://github.com/biojs/biojs-frontend
https://github.com/biojs/biojs-frontend
7 stars 9 forks source link

Fix 'protactor' -> 'protractor' in README.md #14

Closed eronisko closed 9 years ago

wilzbach commented 9 years ago

Hi I had no clue that the protractor is still working - thanks :)

eronisko commented 9 years ago

Oh, haven't yet managed to get it working, just saw that it's misspelled!

If it is broken is there an issue on this somewhere? I haven't used protractor before so I wouldn't mind trying to get it to work (might be a good learning exercise).

wilzbach commented 9 years ago

I do remember that one needs to execute these steps:

npm i -g protractor http-server  # you don't need http-server, it is just a convenient, small js server 
webdriver-manager update      # updates your selenium driver

How to run the tests

1) run http-server (or your favorite web server - you need to set it to port 8080 or update the conf.js) 2) second terminal: run webdriver-manager start 3) third terminal: run protractor conf.js

You can find more info here:

https://angular.github.io/protractor/#/

If it is broken is there an issue on this somewhere? I haven't used protractor before so I wouldn't mind trying to get it to work (might be a good learning exercise).

Wow. Unfortunately there isn't - just go for it and open it yourself :) I remember that there were the problem was about injecting a static json from the registry backend (otherwise some tests fail)

Unfortunately at the moment we don't run protractor on travis (I could do this over the next few days), so many tests might be broken ...