-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Upgrade Assistant] Add A11y Tests #90265
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
Merged
cuff-links
merged 10 commits into
elastic:master
from
cuff-links:Add_A11y_Tests_To_Upgrade_Assistant
Feb 9, 2021
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
42faf22
Added overview a11y test. Added data test subjects to the tabs in the…
f27f49c
Merge branch 'master' into Add_A11y_Tests_To_Upgrade_Assistant
kibanamachine be06851
Added data test subjects for all tabs and the detail panel on the ind…
7e05b92
Merge branch 'Add_A11y_Tests_To_Upgrade_Assistant' of github.com:cuff…
ea9e086
Merge branch 'master' into Add_A11y_Tests_To_Upgrade_Assistant
kibanamachine 50332ba
Updated snapshot for upgrade assistant jest tests.
ac0fa5c
Merge branch 'Add_A11y_Tests_To_Upgrade_Assistant' of github.com:cuff…
3797ce6
Merge branch 'master' into Add_A11y_Tests_To_Upgrade_Assistant
kibanamachine e520215
Merge branch 'master' into Add_A11y_Tests_To_Upgrade_Assistant
kibanamachine 63a0022
Merge branch 'master' into Add_A11y_Tests_To_Upgrade_Assistant
kibanamachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
12 changes: 9 additions & 3 deletions
12
...istant/public/application/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,44 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| import { FtrProviderContext } from '../ftr_provider_context'; | ||
|
|
||
| export default function ({ getService, getPageObjects }: FtrProviderContext) { | ||
| const PageObjects = getPageObjects(['upgradeAssistant', 'common']); | ||
| const a11y = getService('a11y'); | ||
| const testSubjects = getService('testSubjects'); | ||
| const retry = getService('retry'); | ||
|
|
||
| describe('Upgrade Assistant Home', () => { | ||
| before(async () => { | ||
| await PageObjects.upgradeAssistant.navigateToPage(); | ||
| }); | ||
|
|
||
| it('Overview Tab', async () => { | ||
| await retry.waitFor('Upgrade Assistant overview tab to be visible', async () => { | ||
| return testSubjects.exists('upgradeAssistantOverviewTabDetail'); | ||
| }); | ||
| await a11y.testAppSnapshot(); | ||
| }); | ||
|
|
||
| it('Cluster Tab', async () => { | ||
| await testSubjects.click('upgradeAssistantClusterTab'); | ||
| await retry.waitFor('Upgrade Assistant Cluster tab to be visible', async () => { | ||
| return testSubjects.exists('upgradeAssistantClusterTabDetail'); | ||
| }); | ||
| await a11y.testAppSnapshot(); | ||
| }); | ||
|
|
||
| it('Indices Tab', async () => { | ||
| await testSubjects.click('upgradeAssistantIndicesTab'); | ||
| await retry.waitFor('Upgrade Assistant Cluster tab to be visible', async () => { | ||
| return testSubjects.exists('upgradeAssistantIndexTabDetail'); | ||
| }); | ||
| await a11y.testAppSnapshot(); | ||
| }); | ||
| }); | ||
| } | ||
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.