mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Fix some SO tagging flaky FTR tests (#144083)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
cfb80060ee
commit
bd6440cd7b
1 changed files with 4 additions and 4 deletions
|
@ -69,9 +69,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
|
||||
await listingTable.expectItemsCount('dashboard', 2);
|
||||
const itemNames = await listingTable.getAllItemsNames();
|
||||
expect(itemNames).to.eql([
|
||||
'dashboard 4 with real data (tag-1)',
|
||||
expect(itemNames.sort()).to.eql([
|
||||
'dashboard 3 (tag-1 and tag-3)',
|
||||
'dashboard 4 with real data (tag-1)',
|
||||
]);
|
||||
});
|
||||
|
||||
|
@ -80,7 +80,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
|
||||
await listingTable.expectItemsCount('dashboard', 2);
|
||||
const itemNames = await listingTable.getAllItemsNames();
|
||||
expect(itemNames).to.eql(['dashboard 2 (tag-3)', 'dashboard 3 (tag-1 and tag-3)']);
|
||||
expect(itemNames.sort()).to.eql(['dashboard 2 (tag-3)', 'dashboard 3 (tag-1 and tag-3)']);
|
||||
});
|
||||
|
||||
it('allows to filter by multiple tags', async () => {
|
||||
|
@ -88,7 +88,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
|
||||
await listingTable.expectItemsCount('dashboard', 3);
|
||||
const itemNames = await listingTable.getAllItemsNames();
|
||||
expect(itemNames).to.eql([
|
||||
expect(itemNames.sort()).to.eql([
|
||||
'dashboard 1 (tag-2)',
|
||||
'dashboard 2 (tag-3)',
|
||||
'dashboard 3 (tag-1 and tag-3)',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue