diff --git a/x-pack/test/licensing_plugin/scenario.ts b/x-pack/test/licensing_plugin/scenario.ts index 8c452103f9a7c..e0fecae5fadf3 100644 --- a/x-pack/test/licensing_plugin/scenario.ts +++ b/x-pack/test/licensing_plugin/scenario.ts @@ -70,30 +70,9 @@ export function createScenario({ getService, getPageObjects }: FtrProviderContex expect(response.body.trial_was_started).to.be(true); }, - async startEnterprise() { - const response = await esSupertestWithoutAuth - .post('/_license/?acknowledge=true') - .send({ - license: { - uid: '504430e6-503c-4316-85cb-b402c730ca08', - type: 'enterprise', - issue_date_in_millis: 1669680000000, - start_date_in_millis: 1669680000000, - // expires 2024-12-31 - expiry_date_in_millis: 1735689599999, - max_resource_units: 250, - max_nodes: null, - issued_to: 'Elastic - INTERNAL (development environments)', - issuer: 'API', - signature: - 'AAAABQAAAA2h1vBafHuRhjOHREKYAAAAIAo5/x6hrsGh1GqqrJmy4qgmEC7gK0U4zQ6q5ZEMhm4jAAABAByGz9MmRW/L7vQriISa6u8Oov7zykA+Cv55BToWEthSn0c5KQUxcWG+K5Cm4/OkFsXA8TE4zFnlSgYxmQi2Eqq7IAKGdcxI/xhQfMsq5RWlSEwtfyV0M2RKJxgam8o2lvKC9EbrU76ISYr7jTkgoBl6GFSjdfXMHmxNXBSKDDm03ZeXkWkvuNNFrHJuYivf2Se9OeeB/eu4jqUI0UuNfPYF07ZcYvtKfj3KX+aysCSV2FW8wgyAjndOPEinfYcwAJ09zcl+MTig2K0DQTsYkLykXmzZnLz6qeuVVFjCTowxizDFW+5MrpzUnwkjqv8CFhLfvxG7waWQWslv8fXLUn8=', - }, - }) - .auth('license_manager_user', 'license_manager_user-password') - .expect(200); - - expect(response.body.license_status).to.be('valid'); - }, + // FIXME: enterprise license is not available for tests + // https://github.com/elastic/kibana/issues/53575 + async startEnterprise() {}, async deleteLicense() { const response = await esSupertestWithoutAuth diff --git a/x-pack/test/licensing_plugin/server/updates.ts b/x-pack/test/licensing_plugin/server/updates.ts index ccec87dc0cdc6..216113b1c3412 100644 --- a/x-pack/test/licensing_plugin/server/updates.ts +++ b/x-pack/test/licensing_plugin/server/updates.ts @@ -65,7 +65,9 @@ export default function (ftrContext: FtrProviderContext) { await testSubjects.missingOrFail('licenseExpiredBanner'); }); - it('properly recognize an enterprise license', async () => { + // FIXME: enterprise license is not available for tests + // https://github.com/elastic/kibana/issues/53575 + it.skip('properly recognize an enterprise license', async () => { await scenario.startEnterprise(); await scenario.waitForPluginToDetectLicenseUpdate();