lemonldap-ng/e2e-tests/manager
Xavier Guimard 7c676d8d99 make tidy
2016-01-22 16:53:41 +00:00
..
01-tree.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
02-lang.js js_beautify -o -s=2 ... 2015-12-22 10:45:32 +00:00
05-form.js js_beautify -o -s=2 ... 2015-12-22 10:45:32 +00:00
06-form.js js_beautify -o -s=2 ... 2015-12-22 10:45:32 +00:00
07-authParams.js js_beautify -o -s=2 ... 2015-12-22 10:45:32 +00:00
07-utf8.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
08-apply.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
10-saml-config.js Set date + 1 year in help cookie 2016-01-20 21:48:08 +00:00
11-oidcop-config.js make tidy 2016-01-22 16:53:41 +00:00
35-apply-old-conf.js Restore base conf at the end of manager tests for next tests 2016-01-21 20:10:38 +00:00
40-sessions.js Update tests after menu change 2016-01-05 21:05:40 +00:00
99-logout.js js_beautify -o -s=2 ... 2015-12-22 10:45:32 +00:00
00-auth.js js_beautify -o -s=2 ... 2015-12-22 10:45:32 +00:00
README.md Rename e2e dir to manager 2015-12-14 18:36:39 +00:00

#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]
}