Revision 2629a8a747b4149aec1644c9273777624f336f88 authored by Xavier Guimard on 12 January 2019, 07:45:43 UTC, committed by Xavier Guimard on 12 January 2019, 07:45:43 UTC
1 parent 507f3c0
Raw File
01-variables.js
'use strict';

/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */

describe('01 Lemonldap::NG Manager', function() {
  describe('Tree display -> Variables', function() {
    it('Main => should display 12 main nodes', function() {
      browser.get('/');
      expect(element.all(by.repeater('node in data track by node.id')).count()).toEqual(12);
    });
    it('Variables should display 3 sub nodes', function() {
      element(by.id('a-variables')).click();
      expect(element.all(by.repeater('node in node.nodes track by node.id')).count()).toEqual(3);
    });
  });
});
back to top