Refactor tests to use `createAlert` part 2
What does this MR do and why?
These tests are not working as expected because their callback functions are not invoked.
Part of Bulk replacement of `createFlash` by `createAlert` (#366396 - closed)
More context: We have been replacing all the createFlash
for the Pajama compliant createAlert
. We realised there were still tests using createFlash
while their corresponding files were migrated to use createAlert
. The tests were still passing because the expect
statement were not executed.
Screenshots or screen recordings
N/A
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
N/A
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Sanz García