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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/ng-dialog/tests/protractor/open.js')
-rw-r--r--node_modules/ng-dialog/tests/protractor/open.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/node_modules/ng-dialog/tests/protractor/open.js b/node_modules/ng-dialog/tests/protractor/open.js
deleted file mode 100644
index ea2a196200..0000000000
--- a/node_modules/ng-dialog/tests/protractor/open.js
+++ /dev/null
@@ -1,27 +0,0 @@
-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);
-
- element(by.css('.data-passed-through')).getText()
- .then(function(text) {
- expect(text).toBe('Data passed through: from a service');
- });
- });
-
- it('should define specific width through a property js', function() {
- element(by.css('#js-width')).click();
- expect(element(by.css('.ngdialog-content')).getCssValue('width')).toBe('650px');
- });
-
- it('should define custom height through a js property', function() {
- element(by.css('#js-height')).click();
- expect(element(by.css('.ngdialog-content')).getCssValue('height')).toBe('400px');
- });
-});