Scaffold: "Defer:true" does not work

Hey all,

I am currently working on a translator for HUDOC and everything seems to be working quite nicely, both in Scaffold and with the Zotero Connector. However, all my tests fail because they a run too fast: HUDOC is a webapp, which needs to load first before it can be scraped. Because "monitorDOMChanges" does not seem to work in the test suite, I added ""defer": true" to all my tests.

However, Scaffold seems to ignore my manually added defer annotation and runs the tests instantly - no 10s wait (I did click "populate"). Same goes for when I open "chrome://zotero/content/tools/testTranslators/testTranslators.html" in Scaffold and run the tests there.

How can I fix this and actually check if my tests work?
Sign In or Register to comment.