Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unskip advanced settings a11y test #100558

Merged
merged 4 commits into from
Jun 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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