mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fix: comboBox timeout added (#73498)
This commit is contained in:
parent
114c96c694
commit
6ae11fc9cb
1 changed files with 3 additions and 1 deletions
|
@ -17,11 +17,12 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
export function ComboBoxProvider({ getService }) {
|
||||
export function ComboBoxProvider({ getService, getPageObjects }) {
|
||||
const testSubjects = getService('testSubjects');
|
||||
const find = getService('find');
|
||||
const log = getService('log');
|
||||
const retry = getService('retry');
|
||||
const PageObjects = getPageObjects(['common']);
|
||||
|
||||
// wrapper around EuiComboBox interactions
|
||||
class ComboBox {
|
||||
|
@ -55,6 +56,7 @@ export function ComboBoxProvider({ getService }) {
|
|||
|
||||
async _waitForOptionsListLoading(comboBoxElement) {
|
||||
await comboBoxElement.waitForDeletedByClassName('euiLoadingSpinner');
|
||||
await PageObjects.common.sleep(1000);
|
||||
}
|
||||
|
||||
async getOptionsList(comboBoxSelector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue