Skip to content

Latest commit

 

History

History

protractor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Protractor

Running the example

  1. Start Protractor's webdriver-manager in a separate terminal:
$ webdriver-manager start
  1. Begin an import session using the mabl CLI in a separate terminal:
$ mabl tests import --name "Protractor Import Example"
  1. Run the tests in this directory:
$ npm test
  1. View/run/save the imported test in the terminal where you started the import:

Adapting your own Protractor tests for import into mabl

Only a single configuration change is required to make your Protractor tests compatible with mabl import. Add the following setting to your Protractor configuration file:

webDriverProxy: 'http://localhost:8889',

Then run your tests as you normally would with this configuration change applied:

  1. Start the Protractor webdriver manager
  2. Verify that your Protractor configuration file has webDriverProxy: 'http://localhost:8889' set
  3. Start an import session in the mabl CLI (mabl tests import...).
  4. Run your test (e.g. npm test).
  5. Save your imported test using the mabl CLI.