mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
Before this we were monkey-patching in the function `waitForSelectorText` into the `casper` namespace, but only if you called `common.initialize_casper`. This would cause confusion if you expected that function to be documented by Casper. Now we just add the helper to `common` in the `common` namespace. We also avoid having to reason about what `this` means by just using `casper` inside the implementation of `wait_for_text` now. And we don't bother with a return code that none of our callers were using, anyway. |
||
|---|---|---|
| .. | ||
| 00-realm-creation.js | ||
| 01-login.js | ||
| 02-site.js | ||
| 03-narrow.js | ||
| 04-compose.js | ||
| 05-subscriptions.js | ||
| 06-settings.js | ||
| 07-stars.js | ||
| 08-edit.js | ||
| 09-navigation.js | ||
| 10-admin.js | ||
| 11-mention.js | ||
| 13-user-deactivation.js | ||
| 14-drafts.js | ||
| 15-delete-message.js | ||
| 16-copy-and-paste.js | ||