update configurePanel for 7.4.0 changes (#31093)

This commit is contained in:
Vicky Lee 2021-02-10 13:50:45 +00:00 committed by GitHub
parent c7e007d199
commit 7fe9ac3bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ export const configurePanel = (config: PartialAddPanelConfig | PartialEditPanelC
}
// Avoid annotations flakiness
e2e().get('.refresh-picker-buttons .btn').first().click();
e2e.components.RefreshPicker.runButton().should('be.visible').click();
e2e().wait('@chartData');