mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
update combobox test service to always open on open call
This commit is contained in:
parent
fab399659f
commit
43074e6006
1 changed files with 2 additions and 7 deletions
|
@ -218,13 +218,8 @@ export function ComboBoxProvider({ getService, getPageObjects }: FtrProviderCont
|
|||
* @param comboBoxElement
|
||||
*/
|
||||
public async openOptionsList(comboBoxElement: WebElementWrapper): Promise<void> {
|
||||
const isOptionsListOpen = await testSubjects.exists('comboBoxOptionsList');
|
||||
if (!isOptionsListOpen) {
|
||||
const toggleBtn = await comboBoxElement.findByCssSelector(
|
||||
'[data-test-subj="comboBoxToggleListButton"]'
|
||||
);
|
||||
await toggleBtn.click();
|
||||
}
|
||||
const toggleBtn = await comboBoxElement.findByCssSelector('[data-test-subj="comboBoxInput"]');
|
||||
await toggleBtn.click();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue