Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Apr 21, 2020
1 parent 02e680f commit f57a104
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,14 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
expect(await testSubjects.exists('saveEditedActionButton')).to.be(false);
});

it('should not be able to clear selected index on index connector form', async () => {
it('should be able to clear selected index on index connector form', async () => {
await pageObjects.common.navigateToApp('triggersActions');
await testSubjects.click('connectorsTab');
await pageObjects.triggersActionsUI.clickCreateConnectorButton();

await testSubjects.click('.index-card');

const indexComboBox = await testSubjects.find('connectorIndexesComboBox');
const indexComboBox = await find.byCssSelector('#indexConnectorSelectSearchBox');
await indexComboBox.click();
await indexComboBox.type('k');
const filterSelectItem = await find.byCssSelector(`.euiFilterSelectItem`);
Expand Down

0 comments on commit f57a104

Please sign in to comment.