-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added additional date sort test- but skipped due to a bug
- Loading branch information
1 parent
47dc20e
commit 53c96ca
Showing
3 changed files
with
74 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import expect from '@kbn/expect'; | ||
import { FtrProviderContext } from '../ftr_provider_context'; | ||
|
||
export default function ({ getService, getPageObjects }: FtrProviderContext) { | ||
const PageObjects = getPageObjects(['common', 'security']); | ||
const testSubjects = getService('testSubjects'); | ||
const find = getService('find'); | ||
const a11y = getService('a11y'); | ||
|
||
describe('Accessibility Painless Lab Editor', () => { | ||
before(async () => { | ||
await PageObjects.common.navigateToApp('painlessLab'); | ||
await a11y.testAppSnapshot(); | ||
expect(await testSubjects.exists('painless_lab')).to.be(true); | ||
}); | ||
|
||
it('click on the output button', async () => { | ||
const painlessTabs = await find.byCssSelector('[data-test-subj="painlessTabs"] #output'); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
|
||
it('click on the parameters button', async () => { | ||
const painlessTabs = await find.byCssSelector('[data-test-subj="painlessTabs"] #parameters'); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
|
||
it('click on the context button', async () => { | ||
const painlessTabs = await find.byCssSelector('[data-test-subj="painlessTabs"] #context'); | ||
await a11y.testAppSnapshot(); | ||
}); | ||
}); | ||
} |