lemonldap-ng/e2e-tests/portal
Clément OUDOT 11f787ca57 Work on e2e tests (#2035) 2019-12-21 16:08:40 +01:00
..
00-auth.js Work on e2e tests (#2035) 2019-12-21 16:08:40 +01:00
01-menu.js WIP - Improve e2e tests (#1600) 2019-01-26 18:32:39 +01:00
10-sfaManager.js Remove trailing whitespaces 2019-04-03 14:15:16 +02:00
99-logout.js WIP - Improve e2e tests (#1600) 2019-01-12 21:51:12 +01:00
README.md Improve Protractor e2e tests (#1600) 2018-12-26 21:01:53 +01:00

README.md

#End 2 End Testing (Protractor) To run the end-2-end tests against the application you use 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]
}