mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Changed Upgrade Assistant test to reflect hiding the UI (#96714)
* Added test to verify the UI changes for hiding the app. * Running tests on repeat. * Tests passed. Removing only clause to allow full suite to run. * Skipping firefox. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
33892741c3
commit
a1954b4334
1 changed files with 15 additions and 7 deletions
|
@ -17,10 +17,11 @@ export default function upgradeAssistantFunctionalTests({
|
|||
const security = getService('security');
|
||||
const log = getService('log');
|
||||
const retry = getService('retry');
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/86546
|
||||
describe.skip('Upgrade Checkup', function () {
|
||||
this.tags('includeFirefox');
|
||||
// Updated for the hiding of the UA UI.
|
||||
describe('Upgrade Checkup', function () {
|
||||
this.tags('skipFirefox');
|
||||
|
||||
before(async () => {
|
||||
await esArchiver.load('empty_kibana');
|
||||
|
@ -33,11 +34,18 @@ export default function upgradeAssistantFunctionalTests({
|
|||
await security.testUser.restoreDefaults();
|
||||
});
|
||||
|
||||
it('allows user to navigate to upgrade checkup', async () => {
|
||||
it('Overview page', async () => {
|
||||
await PageObjects.upgradeAssistant.navigateToPage();
|
||||
await retry.waitFor('Upgrade Assistant overview page to be visible', async () => {
|
||||
return testSubjects.exists('comingSoonPrompt');
|
||||
});
|
||||
});
|
||||
|
||||
it.skip('allows user to navigate to upgrade checkup', async () => {
|
||||
await PageObjects.upgradeAssistant.navigateToPage();
|
||||
});
|
||||
|
||||
it('allows user to toggle deprecation logging', async () => {
|
||||
it.skip('allows user to toggle deprecation logging', async () => {
|
||||
log.debug('expect initial state to be ON');
|
||||
expect(await PageObjects.upgradeAssistant.deprecationLoggingEnabledLabel()).to.be('On');
|
||||
expect(await PageObjects.upgradeAssistant.isDeprecationLoggingEnabled()).to.be(true);
|
||||
|
@ -60,7 +68,7 @@ export default function upgradeAssistantFunctionalTests({
|
|||
});
|
||||
});
|
||||
|
||||
it('allows user to open cluster tab', async () => {
|
||||
it.skip('allows user to open cluster tab', async () => {
|
||||
await PageObjects.upgradeAssistant.navigateToPage();
|
||||
await PageObjects.upgradeAssistant.clickTab('cluster');
|
||||
expect(await PageObjects.upgradeAssistant.issueSummaryText()).to.be(
|
||||
|
@ -68,7 +76,7 @@ export default function upgradeAssistantFunctionalTests({
|
|||
);
|
||||
});
|
||||
|
||||
it('allows user to open indices tab', async () => {
|
||||
it.skip('allows user to open indices tab', async () => {
|
||||
await PageObjects.upgradeAssistant.navigateToPage();
|
||||
await PageObjects.upgradeAssistant.clickTab('indices');
|
||||
expect(await PageObjects.upgradeAssistant.issueSummaryText()).to.be(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue