kibana/test/accessibility/apps/console.ts
Brandon Kobel 4584a8b570
Elastic License 2.0 (#90099)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00

30 lines
973 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
import { FtrProviderContext } from '../ftr_provider_context';
export default function ({ getService, getPageObjects }: FtrProviderContext) {
const PageObjects = getPageObjects(['common', 'console']);
const a11y = getService('a11y');
describe('Dev tools console', () => {
before(async () => {
await PageObjects.common.navigateToApp('console');
});
it('Dev tools console view', async () => {
await a11y.testAppSnapshot();
});
it('Dev tools settings page', async () => {
await PageObjects.console.setFontSizeSetting(20);
await a11y.testAppSnapshot();
});
});
}