Skip to content

Commit

Permalink
Unskip advanced settings a11y test (elastic#100558)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyarm committed Jun 2, 2021
1 parent 81a7423 commit 7ccd7d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions x-pack/test/accessibility/apps/advanced_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,51 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const PageObjects = getPageObjects(['common', 'settings', 'header']);
const a11y = getService('a11y');
const testSubjects = getService('testSubjects');
const toasts = getService('toasts');

// FLAKY: https://github.com/elastic/kibana/issues/99006
describe.skip('Stack Management -Advanced Settings', () => {
describe('Stack Management -Advanced Settings', () => {
// click on Management > Advanced settings
it('click on advanced settings ', async () => {
await PageObjects.common.navigateToUrl('management', 'kibana/settings', {
shouldUseHashForSubUrl: false,
});
await testSubjects.click('settings');
await toasts.dismissAllToasts();
await a11y.testAppSnapshot();
});

// clicking on the top search bar
it('adv settings - search ', async () => {
await testSubjects.click('settingsSearchBar');
await toasts.dismissAllToasts();
await a11y.testAppSnapshot();
});

// clicking on the category dropdown
it('adv settings - category -dropdown ', async () => {
await testSubjects.click('settingsSearchBar');
await toasts.dismissAllToasts();
await a11y.testAppSnapshot();
});

// clicking on the toggle button
it('adv settings - toggle ', async () => {
await testSubjects.click('advancedSetting-editField-csv:quoteValues');
await toasts.dismissAllToasts();
await a11y.testAppSnapshot();
});

// clicking on editor panel
it('adv settings - edit ', async () => {
await testSubjects.click('advancedSetting-editField-csv:separator');
await toasts.dismissAllToasts();
await a11y.testAppSnapshot();
});

// clicking on save button
it('adv settings - save', async () => {
await testSubjects.click('advancedSetting-saveButton');
await toasts.dismissAllToasts();
await a11y.testAppSnapshot();
});
});
Expand Down

0 comments on commit 7ccd7d6

Please sign in to comment.