mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Response Ops][Cases] Flaky Cases List Row Actions Update - Security (#192487)
Closes https://github.com/elastic/kibana/issues/191641 Toasts are stacking up until covering the row action to be clicked next. This PR dismiss every toast created after each test. In the status update test this might happen as well and therefore I did add the toast dismissal to the whole row actions test suite.
This commit is contained in:
parent
bcef8521ce
commit
4f6f88a7f3
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
|
|||
const svlCases = getService('svlCases');
|
||||
const svlSecNavigation = getService('svlSecNavigation');
|
||||
const svlCommonPage = getPageObject('svlCommonPage');
|
||||
const toasts = getService('toasts');
|
||||
|
||||
describe('Cases List', function () {
|
||||
before(async () => {
|
||||
|
@ -217,6 +218,10 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
|
|||
});
|
||||
|
||||
describe('row actions', () => {
|
||||
afterEach(async () => {
|
||||
await toasts.dismissAll();
|
||||
});
|
||||
|
||||
describe('Status', () => {
|
||||
createNCasesBeforeDeleteAllAfter(1, getPageObject, getService);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue