[Upgrade Assistant] Disable UI by default in 8.0 (#115782)
This commit is contained in:
parent
0296f632fb
commit
c50511fb3c
|
@ -19,7 +19,7 @@ const kibanaVersion = new SemVer(MAJOR_VERSION);
|
|||
// -------------------------------
|
||||
const schemaLatest = schema.object({
|
||||
ui: schema.object({
|
||||
enabled: schema.boolean({ defaultValue: true }),
|
||||
enabled: schema.boolean({ defaultValue: false }),
|
||||
}),
|
||||
/*
|
||||
* This will default to true up until the last minor before the next major.
|
||||
|
|
|
@ -13,21 +13,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const testSubjects = getService('testSubjects');
|
||||
const retry = getService('retry');
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/115859
|
||||
describe.skip('Upgrade Assistant', () => {
|
||||
before(async () => {
|
||||
await PageObjects.upgradeAssistant.navigateToPage();
|
||||
});
|
||||
|
||||
it('Coming soon prompt', async () => {
|
||||
await retry.waitFor('Upgrade Assistant coming soon prompt to be visible', async () => {
|
||||
return testSubjects.exists('comingSoonPrompt');
|
||||
});
|
||||
await a11y.testAppSnapshot();
|
||||
});
|
||||
|
||||
// These tests will be skipped until the last minor of the next major release
|
||||
describe.skip('Upgrade Assistant content', () => {
|
||||
describe('Upgrade Assistant content', () => {
|
||||
it('Overview page', async () => {
|
||||
await retry.waitFor('Upgrade Assistant overview page to be visible', async () => {
|
||||
return testSubjects.exists('overviewPageContent');
|
||||
|
|
|
@ -14,7 +14,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
const es = getService('es');
|
||||
const supertest = getService('supertest');
|
||||
|
||||
describe('Upgrade Assistant', () => {
|
||||
describe.skip('Upgrade Assistant', () => {
|
||||
describe('Reindex operation saved object', () => {
|
||||
const dotKibanaIndex = '.kibana';
|
||||
const fakeSavedObjectId = 'fakeSavedObjectId';
|
||||
|
|
|
@ -68,7 +68,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
expect(sections).to.have.length(3);
|
||||
expect(sections[2]).to.eql({
|
||||
sectionId: 'stack',
|
||||
sectionLinks: ['license_management', 'upgrade_assistant'],
|
||||
sectionLinks: ['license_management'],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -15,7 +15,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
const appsMenu = getService('appsMenu');
|
||||
const managementMenu = getService('managementMenu');
|
||||
|
||||
describe('security', function () {
|
||||
describe.skip('security', function () {
|
||||
before(async () => {
|
||||
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
|
||||
await PageObjects.common.navigateToApp('home');
|
||||
|
|
|
@ -17,10 +17,9 @@ export default function upgradeAssistantFunctionalTests({
|
|||
const security = getService('security');
|
||||
const log = getService('log');
|
||||
const retry = getService('retry');
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
// Updated for the hiding of the UA UI.
|
||||
describe('Upgrade Checkup', function () {
|
||||
describe.skip('Upgrade Checkup', function () {
|
||||
this.tags('skipFirefox');
|
||||
|
||||
before(async () => {
|
||||
|
@ -34,13 +33,6 @@ export default function upgradeAssistantFunctionalTests({
|
|||
await security.testUser.restoreDefaults();
|
||||
});
|
||||
|
||||
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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue