mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-25 09:30:58 +00:00
more selenium love
This commit is contained in:
parent
67a89403c0
commit
5ed67875f3
1 changed files with 3 additions and 3 deletions
|
@ -20,14 +20,14 @@ var execSync = require('child_process').execSync,
|
||||||
webdriver = require('selenium-webdriver');
|
webdriver = require('selenium-webdriver');
|
||||||
|
|
||||||
var by = require('selenium-webdriver').By,
|
var by = require('selenium-webdriver').By,
|
||||||
until = require('selenium-webdriver').until;
|
until = require('selenium-webdriver').until,
|
||||||
|
Builder = require('selenium-webdriver').Builder;
|
||||||
|
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
||||||
|
|
||||||
describe('Application life cycle test', function () {
|
describe('Application life cycle test', function () {
|
||||||
this.timeout(0);
|
this.timeout(0);
|
||||||
var firefox = require('selenium-webdriver/chrome');
|
var server, browser = new Builder().forBrowser('chrome').build();
|
||||||
var server, browser = new firefox.Driver();
|
|
||||||
var LOCATION = 'test';
|
var LOCATION = 'test';
|
||||||
var repodir = '/tmp/testrepo';
|
var repodir = '/tmp/testrepo';
|
||||||
var app, reponame = 'testrepo';
|
var app, reponame = 'testrepo';
|
||||||
|
|
Loading…
Reference in a new issue