mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
7dc4808fdd
commit
d007b0a58a
4 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ export default function({ getService, getPageObjects }) {
|
|||
await filterBar.toggleFilterEnabled(TEST_ANCHOR_FILTER_FIELD);
|
||||
await PageObjects.context.waitUntilContextLoadingHasFinished();
|
||||
|
||||
retry.try(async () => {
|
||||
await retry.try(async () => {
|
||||
expect(
|
||||
await filterBar.hasFilter(TEST_ANCHOR_FILTER_FIELD, TEST_ANCHOR_FILTER_VALUE, false)
|
||||
).to.be(true);
|
||||
|
|
|
@ -56,7 +56,7 @@ export default function({ getService, getPageObjects }) {
|
|||
|
||||
// Add a retry to fix https://github.com/elastic/kibana/issues/14574. Perhaps the recent changes to this
|
||||
// being a CSS update is causing the UI to change slower than grabbing the panels?
|
||||
retry.try(async () => {
|
||||
await retry.try(async () => {
|
||||
const panelCountAfterMaxThenMinimize = await PageObjects.dashboard.getPanelCount();
|
||||
expect(panelCountAfterMaxThenMinimize).to.be(panelCount);
|
||||
});
|
||||
|
|
|
@ -121,7 +121,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
|
|||
await visualBuilder.markdownSwitchSubTab('data');
|
||||
await visualBuilder.cloneSeries();
|
||||
|
||||
retry.try(async function seriesCountCheck() {
|
||||
await retry.try(async function seriesCountCheck() {
|
||||
const seriesLength = (await visualBuilder.getSeries()).length;
|
||||
expect(seriesLength).to.be.equal(2);
|
||||
});
|
||||
|
@ -131,7 +131,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
|
|||
await visualBuilder.markdownSwitchSubTab('data');
|
||||
await visualBuilder.createNewAgg();
|
||||
|
||||
retry.try(async function aggregationCountCheck() {
|
||||
await retry.try(async function aggregationCountCheck() {
|
||||
const aggregationLength = await visualBuilder.getAggregationCount();
|
||||
expect(aggregationLength).to.be.equal(2);
|
||||
});
|
||||
|
|
|
@ -57,7 +57,7 @@ export function UptimePageProvider({ getPageObjects, getService }: FtrProviderCo
|
|||
}
|
||||
|
||||
public async pageUrlContains(value: string, expected: boolean = true) {
|
||||
retry.try(async () => {
|
||||
await retry.try(async () => {
|
||||
expect(await uptimeService.urlContains(value)).to.eql(expected);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue