zulip/frontend_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
..
node_tests node tests: Simplify subs tests for filtering. 2021-02-16 13:11:10 -08:00
puppeteer_lib puppeteer_tests: Don’t read from most deprecated global variables. 2021-02-10 07:35:11 -08:00
puppeteer_tests puppeteer: Make subscribe/unsubscribe test more robust. 2021-02-18 11:05:46 -05:00
zjsunit minor: Suggest with_field instead of override for non-functions. 2021-02-13 07:28:26 -05:00