E2E: Fix flakiness for dashboard-search spec (#58950)

This commit is contained in:
Ivan Ortega Alba 2022-11-18 14:55:34 +01:00 committed by GitHub
parent 27b5e5f781
commit 766867735d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,5 @@ e2e.scenario({
e2e.components.Search.folderContent('General').should('be.visible');
e2e.components.Search.dashboardItem('E2E Test - Import Dashboard').should('be.visible');
// verify the imported dashboard is the only dashboard present in the folder
e2e().get('[data-testid^="data-testid Dashboard search item "]').should('have.length', 1);
},
});