README.md 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#End 2 End Testing (Protractor)
To run the end-2-end tests against the application you use [Protractor](https://github.com/angular/protractor).

## Testing with Protractor

As a one-time setup, download webdriver.
```
npm run update-webdriver
```

Start the Protractor test runner using the e2e configuration:

```
make e2e_test
```

## Devel tips

    {
      locator_:  {
        using: 'css selector',
        value: '[ng-click="getLanguage(lang)"]'
       },
      parentElementFinder_: null,
      opt_actionResult_: {
        then: [Function: then],
        cancel: [Function: cancel],
        isPending: [Function: isPending]
      },
      opt_index_: 1,
      click: [Function],
      sendKeys: [Function],
      getTagName: [Function],
      getCssValue: [Function],
      getAttribute: [Function],
      getText: [Function],
      getSize: [Function],
      getLocation: [Function],
      isEnabled: [Function],
      isSelected: [Function],
      submit: [Function],
      clear: [Function],
      isDisplayed: [Function],
      getOuterHtml: [Function],
      getInnerHtml: [Function],
      toWireValue: [Function]
    }