Skip to content

Commit

Permalink
fix a11y tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson committed Feb 15, 2023
1 parent 4343026 commit 6163811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/test/accessibility/apps/dashboard_controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const a11y = getService('a11y');
const testSubjects = getService('testSubjects');
const kibanaServer = getService('kibanaServer');

const PageObjects = getPageObjects(['common', 'dashboard', 'home', 'dashboardControls']);
const browser = getService('browser');

Expand Down Expand Up @@ -56,7 +57,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

it('Options control panel & dashboard with options control', async () => {
await testSubjects.click('field-picker-select-OriginCityName');
await PageObjects.dashboardControls.controlsEditorSetfield('OriginCityName');
await a11y.testAppSnapshot();
await testSubjects.click('control-editor-save');
await a11y.testAppSnapshot();
Expand Down

0 comments on commit 6163811

Please sign in to comment.