-
Bug
-
Resolution: Done-Errata
-
Blocker
-
MTA 6.2.0
-
False
-
-
False
-
-
-
No
Description of problem:
The notification texts have changed.
For creation, the template is create": "{{type what was successfully created.}} and for updating its "save": "{{type what was successfully saved."}}
}} The problem arises when updating objects because the API response doesn't include the "{{{}what" value.
As a result, the message ends up looking like this:
Success Alert:Migration Wave was successfully saved. (Notice the two spaces between the {{type}} and "was")
It looks good in the UI, but if you inspect the DOM, you'll see these two extra spaces.
This issue is causing many of our tests to fail because Cypress accesses the value through the DOM.
Version-Release number of selected component (if applicable): 6.2.0
How reproducible: Always
Steps to Reproduce:
1. Go to Migration -> Migration Waves and create one
2. Update the migration wave, change its name and click "Save"
3. While the success notification is visible, execute the following command in the console:
document.querySelector("div[aria-label='Success Alert']").textContent
Additional info: