
requireReturnForObjectLiteral for readability Change-Id: I433937b44757939a31ca92512f0aaf0884f86d27
22 lines
465 B
JavaScript
22 lines
465 B
JavaScript
/**
|
|
* @fileoverview Minimal viable frontend functional test.
|
|
*/
|
|
'use strict';
|
|
|
|
const {until} = require('selenium-webdriver');
|
|
const {setup, cleanup} = require('test-infra');
|
|
|
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
|
|
|
|
describe('example ', () => {
|
|
let driver;
|
|
|
|
beforeAll(() => setup().then(d => driver = d));
|
|
|
|
afterAll(() => cleanup());
|
|
|
|
it('should update title', () => driver.wait(
|
|
until.titleIs('status:open · Gerrit Code Review'), 5000
|
|
));
|
|
});
|