Julia Rechkunova 2023-02-02 09:11:01 +01:00 committed by GitHub
parent 6bb1e5b9ee
commit d0eaa7839f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,12 +272,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.header.waitUntilLoadingHasFinished();
const [firstToast, secondToast] = await toasts.getAllToastElements();
expect(await firstToast.getVisibleText()).to.equal(
`"${first}" is not a configured data view ID\nShowing the saved data view: "logstas*" (${second})`
);
expect(await secondToast.getVisibleText()).to.equal(
`Different index references\nData view id references in some of the applied filters differ from the current data view.`
expect([await firstToast.getVisibleText(), await secondToast.getVisibleText()].sort()).to.eql(
[
`"${first}" is not a configured data view ID\nShowing the saved data view: "logstas*" (${second})`,
`Different index references\nData view id references in some of the applied filters differ from the current data view.`,
].sort()
);
});
});