Files
gerrit/polygerrit-ui/app/test/functional/test.js
Tao Zhou 1c2c9ee45e Enable arrow-body-style with as-needed
requireReturnForObjectLiteral for readability

Change-Id: I433937b44757939a31ca92512f0aaf0884f86d27
2020-01-10 12:37:45 +01:00

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
));
});