Tagged: testing


Run a single test in jasmine

From Jasmine 2.x onwards, you can run only a single describe or it block by using fdescribe and fit instead of describe and it. This is great when you are building new features and...


Chromium flag to by pass popup to grant desktop sharing in WebRTC app

The auto-select-desktop-capture-source flag makes Chrome auto-select the provided choice when an extension asks permission to start desktop capture. For instance, following option will automatically select the entire screen in English locales. chromeOptions: [auto-select-desktop-capture-source=”Entire screen”]...


How to set the timeout of a test in mocha

Mocha uses a default timeout of 2000 ms. However, if for some reason that does not work for your use case, you can increase the timeout for a particular test. You can do so...