Skip to content

Commit

Permalink
[ML] Transform functional tests - stabilize feature controls test
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyos committed Feb 9, 2021
1 parent af75079 commit f25170e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const PageObjects = getPageObjects(['common', 'settings', 'security']);
const appsMenu = getService('appsMenu');
const managementMenu = getService('managementMenu');
const browser = getService('browser');

describe('security', () => {
before(async () => {
Expand Down Expand Up @@ -41,6 +42,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {

it('should not render the "Stack" section', async () => {
await PageObjects.common.navigateToApp('management');
// temporary stability fix until https://github.com/elastic/kibana/issues/90770 is fixed
await browser.refresh();
const sections = (await managementMenu.getSections()).map((section) => section.sectionId);
expect(sections).to.eql(['insightsAndAlerting', 'kibana']);
});
Expand Down

0 comments on commit f25170e

Please sign in to comment.