Skip to content

Commit d47bfb5

Browse files
committed
Fixing chrome issue.
1 parent 9d3073f commit d47bfb5

18 files changed

Lines changed: 15 additions & 124 deletions

eform-client/gulpfile.js

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,6 @@
1-
const protractor = require('gulp-protractor').protractor;
21
const gulp = require('gulp');
3-
const runSequence = require('run-sequence');
4-
const spawn = require('child_process').spawn;
52
const clean = require('gulp-clean');
63

7-
const runSpawn = function (done, task, opt_arg, opt_io) {
8-
opt_arg = typeof opt_arg !== 'undefined' ? opt_arg : [];
9-
var stdio = 'inherit';
10-
if (opt_io === 'ignore') {
11-
stdio = 'ignore';
12-
}
13-
var child = spawn(task, opt_arg, {stdio: stdio});
14-
var running = false;
15-
child.on('close', function () {
16-
if (!running) {
17-
running = true;
18-
done();
19-
}
20-
});
21-
child.on('error', function () {
22-
if (!running) {
23-
console.error('gulp encountered a child error');
24-
running = true;
25-
done();
26-
}
27-
});
28-
};
29-
30-
gulp.task('webdriver:update', function (done) {
31-
runSpawn(done, 'node', ['./node_modules/protractor/bin/webdriver-manager', 'update', '--versions.standalone=3.13.0', '--versions.chrome=2.39']);
32-
});
33-
34-
gulp.task('tests', function (done) {
35-
runSequence(['webdriver:update'], "e2e-tests", done);
36-
});
37-
38-
gulp.task("e2e-tests", function (done) {
39-
gulp.src(['e2e/!**!/!*.js'], {read: false})
40-
.pipe(protractor({
41-
configFile: 'protractor.conf.js'
42-
})
43-
);
44-
done();
45-
});
464
// deletes bin/input.txt
475
gulp.task('input-clean', function () {
486
gulp.src('../eFormAPI/eFormAPI/bin/input.txt')

eform-client/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159
"@wdio/spec-reporter": "9.20.0",
160160
"angular-mocks": "^1.8.3",
161161
"chai": "^6.0.1",
162-
"chromedriver": "^144.0.1",
163162
"cypress": "15.6.0",
164163
"eslint": "^8.57.1",
165164
"fs-extra": "^11.3.1",
@@ -174,7 +173,6 @@
174173
"ts-node": "10.9.2",
175174
"tsconfig-paths": "^4.2.0",
176175
"typescript": "5.8.3",
177-
"wdio-chromedriver-service": "8.1.1",
178176
"wdio-docker-service": "3.2.1",
179177
"webdriverio": "9.20.0",
180178
"xlsx": "^0.18.5"

eform-client/protractor.conf.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

eform-client/test/wdio.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const config: WebdriverIO.Config = {
138138
// Services take over a specific job you don't want to take care of. They enhance
139139
// your test setup with almost no effort. Unlike plugins, they don't add new
140140
// commands. Instead, they hook themselves up into the test process.
141-
services: ['chromedriver'],
141+
services: [],
142142
// Framework you want to run your specs with.
143143
// The following are supported: Mocha, Jasmine, and Cucumber
144144
// see also: https://webdriver.io/docs/frameworks

eform-client/wdio-headless-step2a.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const config: WebdriverIO.Config = {
149149
// Services take over a specific job you don't want to take care of. They enhance
150150
// your test setup with almost no effort. Unlike plugins, they don't add new
151151
// commands. Instead, they hook themselves up into the test process.
152-
services: ['chromedriver'],
152+
services: [],
153153
//chromeDriverArgs: ['--whitelisted-ips', '--port=9515', '--url-base=\'/\''], // default for ChromeDriver
154154
//chromeDriverLogs: './',
155155
//

eform-client/wdio-headless-step2b.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const config: WebdriverIO.Config = {
150150
// Services take over a specific job you don't want to take care of. They enhance
151151
// your test setup with almost no effort. Unlike plugins, they don't add new
152152
// commands. Instead, they hook themselves up into the test process.
153-
services: ['chromedriver'],
153+
services: [],
154154
//chromeDriverArgs: ['--whitelisted-ips', '--port=9515', '--url-base=\'/\''], // default for ChromeDriver
155155
//chromeDriverLogs: './',
156156
//

eform-client/wdio-headless-step2c.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const config: WebdriverIO.Config = {
149149
// Services take over a specific job you don't want to take care of. They enhance
150150
// your test setup with almost no effort. Unlike plugins, they don't add new
151151
// commands. Instead, they hook themselves up into the test process.
152-
services: ['chromedriver'],
152+
services: [],
153153
//chromeDriverArgs: ['--whitelisted-ips', '--port=9515', '--url-base=\'/\''], // default for ChromeDriver
154154
//chromeDriverLogs: './',
155155
//

eform-client/wdio-headless-step2d.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const config: WebdriverIO.Config = {
150150
// Services take over a specific job you don't want to take care of. They enhance
151151
// your test setup with almost no effort. Unlike plugins, they don't add new
152152
// commands. Instead, they hook themselves up into the test process.
153-
services: ['chromedriver'],
153+
services: [],
154154
//chromeDriverArgs: ['--whitelisted-ips', '--port=9515', '--url-base=\'/\''], // default for ChromeDriver
155155
//chromeDriverLogs: './',
156156
//

eform-client/wdio-headless-step2e.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export const config: WebdriverIO.Config = {
152152
// Services take over a specific job you don't want to take care of. They enhance
153153
// your test setup with almost no effort. Unlike plugins, they don't add new
154154
// commands. Instead, they hook themselves up into the test process.
155-
services: ['chromedriver'],
155+
services: [],
156156
//chromeDriverArgs: ['--whitelisted-ips', '--port=9515', '--url-base=\'/\''], // default for ChromeDriver
157157
//chromeDriverLogs: './',
158158
//

eform-client/wdio-headless-step2f.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const config: WebdriverIO.Config = {
149149
// Services take over a specific job you don't want to take care of. They enhance
150150
// your test setup with almost no effort. Unlike plugins, they don't add new
151151
// commands. Instead, they hook themselves up into the test process.
152-
services: ['chromedriver'],
152+
services: [],
153153
//chromeDriverArgs: ['--whitelisted-ips', '--port=9515', '--url-base=\'/\''], // default for ChromeDriver
154154
//chromeDriverLogs: './',
155155
//

0 commit comments

Comments
 (0)