mirror of
https://git.cloudron.io/cloudron/freshrss-app
synced 2025-09-05 15:05:09 +00:00
Version 1.17.0
This commit is contained in:
10
test/test.js
10
test/test.js
@@ -5,20 +5,20 @@
|
||||
/* global before */
|
||||
/* global after */
|
||||
/* global it */
|
||||
/* global xit */
|
||||
|
||||
'use strict';
|
||||
|
||||
require('chromedriver');
|
||||
|
||||
var execSync = require('child_process').execSync,
|
||||
const execSync = require('child_process').execSync,
|
||||
expect = require('expect.js'),
|
||||
path = require('path'),
|
||||
superagent = require('superagent'),
|
||||
{ Builder, By, Key, until } = require('selenium-webdriver'),
|
||||
{ Options } = require('selenium-webdriver/chrome');
|
||||
|
||||
var username = 'admin',
|
||||
password = 'changeme';
|
||||
const username = 'admin', password = 'changeme';
|
||||
|
||||
describe('Application life cycle test', function () {
|
||||
this.timeout(0);
|
||||
@@ -27,7 +27,7 @@ describe('Application life cycle test', function () {
|
||||
const TEST_TIMEOUT = 10000;
|
||||
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
|
||||
|
||||
var browser, app;
|
||||
let browser, app;
|
||||
|
||||
before(function () {
|
||||
const options = new Options().windowSize({ width: 1280, height: 1024 });
|
||||
@@ -124,7 +124,7 @@ describe('Application life cycle test', function () {
|
||||
expect(res.status).to.be(200);
|
||||
expect(res.text).to.contain('sticky_feeds'); // relies on the buffer flag above
|
||||
callback();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
||||
|
Reference in New Issue
Block a user