Welcome to mirror list, hosted at ThFree Co, Russian Federation.

close.js « protractor « tests « ng-dialog « node_modules - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6fa282ed987de6a5550f688a3a1ba708a4b32c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
describe('ngDialog open', function() {
  beforeEach(function() {
    browser.get('http://localhost:3000/example/index.html');
  });

  it('should open from functions', function() {
    element(by.css('#via-service')).click();

    var EC = protractor.ExpectedConditions;
    browser.wait(EC.visibilityOf(element(by.css('.ngdialog'))), 5000);

    var plot0 = element(by.css('.ngdialog-overlay'));

    element(by.css('.close-this-dialog')).click();

    browser.wait(EC.not(EC.presenceOf(element(by.css('.ngdialog')))), 5000);
  });
});