Skip to content

Commit

Permalink
Wait for chrome to visible
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Aug 20, 2021
1 parent 8fd8843 commit 1e1b42d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ import { FtrProviderContext } from '../../ftr_provider_context';
import { applicationUsageSchema } from '../../../../../src/plugins/kibana_usage_collection/server/collectors/application_usage/schema';

export default function ({ getService, getPageObjects }: FtrProviderContext) {
describe('Application Usage', function () {
describe.only('Application Usage', function () {
this.tags('ciGroup1');
const { common } = getPageObjects(['common']);
const browser = getService('browser');

it('keys in the schema match the registered application IDs', async () => {
await common.navigateToApp('home'); // Navigate to Home to make sure all the appIds are loaded
await common.navigateToApp('home'); // Navigate to Home
await common.isChromeVisible(); // Make sure the page is fully loaded
const appIds = await browser.execute(() => window.__applicationIds__);
if (!appIds || !Array.isArray(appIds)) {
throw new Error(
Expand Down

0 comments on commit 1e1b42d

Please sign in to comment.