[tests/functional] stop setting the default test timeout everywhere (#11777)

This commit is contained in:
Spencer 2017-05-15 16:46:04 -07:00 committed by GitHub
parent 12e56b8b4c
commit 419f3132b8
7 changed files with 0 additions and 21 deletions

View file

@ -1,10 +1,7 @@
export default function ({ getService, loadTestFile }) {
const config = getService('config');
const remote = getService('remote');
describe('console app', function () {
this.timeout(config.get('timeouts.find'));
before(async function () {
await remote.setWindowSize(1200,800);
});

View file

@ -1,12 +1,9 @@
export default function ({ getService, getPageObjects, loadTestFile }) {
const config = getService('config');
const remote = getService('remote');
const esArchiver = getService('esArchiver');
const PageObjects = getPageObjects(['common']);
describe('context app', function () {
this.timeout(config.get('timeouts.test'));
before(async function () {
await remote.setWindowSize(1200,800);
await esArchiver.loadIfNeeded('logstash_functional');

View file

@ -1,10 +1,7 @@
export default function ({ getService, loadTestFile }) {
const config = getService('config');
const remote = getService('remote');
describe('dashboard app', function () {
this.timeout(config.get('timeouts.test'));
before(() => remote.setWindowSize(1200,800));
loadTestFile(require.resolve('./_view_edit'));

View file

@ -1,11 +1,8 @@
export default function ({ getService, loadTestFile }) {
const config = getService('config');
const esArchiver = getService('esArchiver');
const remote = getService('remote');
describe('discover app', function () {
this.timeout(config.get('timeouts.test'));
before(function () {
return remote.setWindowSize(1200,800);
});

View file

@ -1,10 +1,7 @@
export default function ({ getService, loadTestFile }) {
const config = getService('config');
const esArchiver = getService('esArchiver');
describe('management', function () {
this.timeout(config.get('timeouts.test'));
// on setup, we create an settingsPage instance
// that we will use for all the tests
before(async function () {

View file

@ -1,13 +1,10 @@
export default function ({ getService, loadTestFile }) {
const config = getService('config');
const remote = getService('remote');
const log = getService('log');
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');
describe('visualize app', function () {
this.timeout(config.get('timeouts.test'));
before(function () {
remote.setWindowSize(1280,800);

View file

@ -1,11 +1,8 @@
export default function ({ getService, getPageObjects }) {
const config = getService('config');
const log = getService('log');
const PageObjects = getPageObjects(['monitoring', 'settings']);
describe('dismiss x-pack', function () {
this.timeout(config.get('timeouts.test'));
// Putting everything here in 'before' so it doesn't count as a test
// since x-pack may or may not be installed. We just want the banner closed.
before(function () {