zulip/frontend_tests/casper_tests
Rohitt Vashishtha c41c82aae0 settings_emoji: Use display_name in handlebars.
This commit fixes two issues with the previous implementation:

1. JavaScript's replace replaces only the first instance,
   thus we need to use a regex.
2. Handlebars was setting the id of the HTML elements with
   spaces in between which broke the delete button; now a
   new variable display_name is passed to the template.

This also makes changes to the casper tests to have an emoji
name with multiple spaces in it to ensure this bug doesn't
appear again.
2018-08-07 10:22:08 -07:00
..
00-realm-creation.js js: Fix indentation issues in casper tests. 2018-05-06 19:35:18 -07:00
01-login.js casper: Always use REALMS_HAVE_SUBDOMAINS. 2017-08-24 20:44:37 -07:00
02-site.js js: Fix indentation issues in casper tests. 2018-05-06 19:35:18 -07:00
03-narrow.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
04-compose.js search: Disable tab_bar due to addition of search pills. 2018-07-23 11:29:10 -07:00
05-subscriptions.js js: Fix indentation issues in casper tests. 2018-05-06 19:35:18 -07:00
06-settings.js bots: Add token to outgoing webhook zuliprc. 2018-06-04 08:39:24 -07:00
07-stars.js single_message.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
08-edit.js refactor: new message content -> compose textarea. 2017-11-28 12:53:40 -08:00
09-navigation.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
10-admin.js settings_emoji: Use display_name in handlebars. 2018-08-07 10:22:08 -07:00
11-mention.js js: Fix indentation issues in casper tests. 2018-05-06 19:35:18 -07:00
12-toggle-message-editing.js eslint: Enable `no-extra-parens` rule. 2018-06-11 07:51:24 -04:00
13-user-deactivation.js Rename "Administration" to "Organization" in the settings UI. 2017-04-07 17:32:56 -07:00
14-drafts.js hotkeys: Replace C with x for composing PM. 2018-04-01 16:13:05 -07:00
15-delete-message.js casper: Fix waiting condition in message deletion tests. 2017-05-30 22:49:59 -07:00
16-copy-and-paste.js copy_and_paste.js: Support copying recipient headers from several topics. 2018-03-20 21:56:05 -07:00