DEV: resets post menu extra buttons between tests (PR #13939)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

Hmm, tests did not like this change :sweat_smile:

Hmm, tests did not like this change :sweat_smile:

yes saw this sooner today… it’s because we actually add button from code which makes sense.

I added a special var to track what’s added through API, let me know what you think of this