mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[fix flaky on mki] add dismiss all toasts (#184659)
## Summary resolves: https://github.com/elastic/kibana/issues/184655 Ran this from my local, against an MKI oblt cluster. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
aa95692deb
commit
6e3b14fa19
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
|
|||
const svlCommonNavigation = getPageObject('svlCommonNavigation');
|
||||
const svlCommonPage = getPageObject('svlCommonPage');
|
||||
const svlObltNavigation = getService('svlObltNavigation');
|
||||
const toasts = getService('toasts');
|
||||
|
||||
describe('Cases list', function () {
|
||||
before(async () => {
|
||||
|
@ -258,6 +259,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
|
|||
createNCasesBeforeDeleteAllAfter(1, getPageObject, getService);
|
||||
|
||||
it('deletes a case correctly', async () => {
|
||||
await toasts.dismissAll();
|
||||
await cases.casesTable.deleteCase(0);
|
||||
await cases.casesTable.waitForTableToFinishLoading();
|
||||
await cases.casesTable.validateCasesTableHasNthRows(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue