Skip to content

Commit

Permalink
Address CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sabarasaba committed Dec 6, 2023
1 parent decd219 commit 5f0bac5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('Painless lab', function describeIndexTests() {
before(async () => {
await PageObjects.svlCommonPage.login();
await PageObjects.common.navigateToApp('dev_tools', { hash: '/painless_lab' });
await retry.waitFor('Wait for editor to be visible', async () => {
return testSubjects.isDisplayed('painless_lab');
});
});

after(async () => {
await PageObjects.svlCommonPage.forceLogout();
});

it('should show the editor and preview panels', async () => {
const editor = await testSubjects.find('kibanaCodeEditor');
const preview = await testSubjects.find('painlessTabs');
Expand Down

0 comments on commit 5f0bac5

Please sign in to comment.