Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit c335339

Browse files
committed
Fix E2E Tests
1 parent b5c44db commit c335339

File tree

4 files changed

+31
-22
lines changed

4 files changed

+31
-22
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ If you are executing the E2E tests for the first time, you may have to execute:
6767

6868
node node_modules/protractor/bin/webdriver-manager update
6969

70+
If you run into errors running the e2e tests, you may be hitting the following Chromium issue:
71+
72+
https://bugs.chromium.org/p/chromedriver/issues/detail?id=1552
73+
74+
In that case start the tests using:
75+
76+
LC_NUMERIC="en_US.UTF-8" grunt test:e2e
77+
7078
If you have already the UI running using:
7179

7280
$grunt serve

ui/Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ module.exports = function (grunt) {
4545
specs: [
4646
'./test/e2e/**/*.spec.js'
4747
],
48-
baseUrl: 'http://localhost:8000',
49-
chromeDriver: 'node_modules/protractor/selenium/chromedriver'
48+
baseUrl: 'http://localhost:8000'
49+
//chromeDriver: 'node_modules/protractor/selenium/chromedriver'
5050
}
5151
},
5252
run: {

ui/package.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,50 @@
44
"description": "Provides the Dashboard application of Spring Cloud Data Flow",
55
"license": "Apache-2.0",
66
"devDependencies": {
7-
"tmp": "0.0.25",
87
"bower": "1.4.1",
98
"grunt": "0.4.5",
109
"grunt-autoprefixer": "3.0.0",
10+
"grunt-bower-task": "0.4.0",
11+
"grunt-cli": "0.1.13",
1112
"grunt-concurrent": "1.0.0",
13+
"grunt-connect-proxy": "0.1.6",
1214
"grunt-contrib-clean": "0.6.0",
1315
"grunt-contrib-concat": "0.5.1",
1416
"grunt-contrib-connect": "0.7.1",
1517
"grunt-contrib-copy": "0.8.0",
16-
"grunt-contrib-less": "1.0.1",
1718
"grunt-contrib-cssmin": "0.10.0",
1819
"grunt-contrib-htmlmin": "0.4.0",
1920
"grunt-contrib-jshint": "0.11.2",
20-
"requirejs": "2.1.17",
21+
"grunt-contrib-less": "1.0.1",
22+
"grunt-contrib-nodeunit": "0.4.1",
2123
"grunt-contrib-requirejs": "0.4.4",
2224
"grunt-contrib-uglify": "0.9.1",
2325
"grunt-contrib-watch": "0.6.1",
24-
"grunt-cli": "0.1.13",
25-
"grunt-bower-task": "0.4.0",
26-
"grunt-connect-proxy": "0.1.6",
26+
"grunt-karma": "0.10.1",
2727
"grunt-newer": "1.1.0",
2828
"grunt-ngmin": "0.0.3",
29+
"grunt-protractor-runner": "4.0.0",
2930
"grunt-rev": "0.1.0",
3031
"grunt-usemin": "3.0.0",
32+
"jasmine-core": "^2.5.2",
3133
"jshint-stylish": "1.0.1",
32-
"load-grunt-tasks": "3.1.0",
33-
"time-grunt": "1.1.1",
34-
"grunt-karma": "0.10.1",
35-
"karma-script-launcher": "0.1.0",
34+
"karma": "0.12.31",
3635
"karma-chrome-launcher": "0.2.3",
37-
"karma-safari-launcher": "0.1.1",
36+
"karma-coffee-preprocessor": "0.2.1",
3837
"karma-firefox-launcher": "0.1.7",
3938
"karma-html2js-preprocessor": "0.1.0",
4039
"karma-jasmine": "0.3.8",
41-
"karma-coffee-preprocessor": "0.2.1",
42-
"karma-requirejs": "0.2.2",
43-
"karma-phantomjs-launcher": "1.0.2",
44-
"karma": "0.12.31",
4540
"karma-ng-html2js-preprocessor": "0.1.2",
41+
"karma-phantomjs-launcher": "1.0.2",
42+
"karma-requirejs": "0.2.2",
43+
"karma-safari-launcher": "0.1.1",
44+
"karma-script-launcher": "0.1.0",
45+
"load-grunt-tasks": "3.1.0",
4646
"phantomjs": "2.1.7",
47-
"protractor": "2.0.0",
48-
"grunt-protractor-runner": "2.0.0",
49-
"grunt-contrib-nodeunit": "0.4.1"
47+
"protractor": "4.0.10",
48+
"requirejs": "2.1.17",
49+
"time-grunt": "1.1.1",
50+
"tmp": "0.0.25"
5051
},
5152
"engines": {
5253
"node": ">=0.10.0"

ui/test/e2e/streams/index-streams.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ describe('Stream Tests', function() {
5959
it('the "Definitions" Tab should have a "Quick Filter" search input field', function() {
6060
expect(element(by.css('#filterTable')).isPresent()).toBe(true);
6161
});
62-
it('the "Definitions Tab Quick Filter" should have a placeholder text of "Quick filter"', function() {
63-
expect(element(by.css('#filterTable')).getAttribute('placeholder')).toMatch('Quick filter');
62+
it('the "Definitions Tab Quick Filter" should have a placeholder text of "Filter definitions"', function() {
63+
expect(element(by.css('#filterTable')).getAttribute('placeholder')).toMatch('Filter definitions');
6464
});
6565
});
6666

0 commit comments

Comments
 (0)