zulip/frontend_tests/puppeteer_tests
Steve Howell b4ab662442 puppeteer: Make subscribe/unsubscribe test more robust.
We generally want to avoid clicking on DOM elements
that may not actually be visible due to the prior
operation.  Instead, we can just find the visible
element after each step.

I also introduce a couple helper functions to
de-clutter the click/unclick/click steps, and I do
a couple extra clicks for good measure.

You can verify that the test will fail if you
add an early return to update_check_button_for_sub.
2021-02-18 11:05:46 -05:00
..
00-realm-creation.js eslint: Fix unicorn/prefer-text-content. 2020-10-07 16:00:33 -07:00
01-login.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
02-message-basics.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
03-compose.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
04-subscriptions.js puppeteer: Make subscribe/unsubscribe test more robust. 2021-02-18 11:05:46 -05:00
05-stars.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
06-edit.js puppeteer: Add edit test. 2020-08-04 14:41:00 -07:00
07-navigation.js puppeteer_tests: Don’t read from most deprecated global variables. 2021-02-10 07:35:11 -08:00
08-admin.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
09-mention.js puppeteer_tests: Don’t read from most deprecated global variables. 2021-02-10 07:35:11 -08:00
10-custom-profile.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
11-user-deactivation.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
12-drafts.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
13-delete-message.js puppeteer: Migrate delete message test from Casper. 2020-08-27 11:45:35 -07:00
14-copy-and-paste.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
15-realm-linkifier.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
16-settings.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00