Skip to content

Commit

Permalink
Switch to dashboard page methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Oct 23, 2023
1 parent f5d7c86 commit 9c90c73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/test/accessibility/apps/dashboard_controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const PageObjects = getPageObjects(['common', 'dashboard', 'home', 'dashboardControls']);
const browser = getService('browser');

describe('Dashboard controls a11y tests', () => {
describe.only('Dashboard controls a11y tests', () => {
before(async () => {
await kibanaServer.savedObjects.cleanStandardList();
await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', {
useActualUrl: true,
});
await PageObjects.home.addSampleDataSet('flights');
await PageObjects.common.navigateToApp('dashboard');
await testSubjects.click('dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard');
await testSubjects.click('dashboardEditMode');
await PageObjects.dashboard.loadSavedDashboard('[Flights] Global Flight Dashboard');
await PageObjects.dashboard.switchToEditMode();
});

after(async () => {
Expand Down

0 comments on commit 9c90c73

Please sign in to comment.