This was fixed by XWIKI-21807 in 15.5.5, 15.10.6 and 16.0.0-rc-1. The propadd action now returns only the plain-text error instead of rendering the whole page, which is what showed up inside the notification.
Following the steps to reproduce on 19.0.0-SNAPSHOT, adding the same property a second time only shows the notification "Property test already exists" and the class editor stays intact, see XWIKI-21118-repro-master.mp4. ClassSheetIT already covers this case.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.