mirror of https://github.com/zulip/zulip.git
puppeteer_tests: Fix Prettier formatting of 05-stars.js.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
b4888c1251
commit
a0a0189df1
|
@ -49,10 +49,18 @@ async function stars_test(page) {
|
|||
|
||||
await toggle_test_star_message(page);
|
||||
await page.waitForSelector("#zhome .fa-star", {visible: true});
|
||||
assert.strictEqual(await stars_count(page), 1, "Failed to ensure 1 starred message after change.");
|
||||
assert.strictEqual(
|
||||
await stars_count(page),
|
||||
1,
|
||||
"Failed to ensure 1 starred message after change.",
|
||||
);
|
||||
|
||||
await test_narrow_to_starred_messages(page);
|
||||
assert.strictEqual(await stars_count(page), 1, "Message star disappeared after switching views.");
|
||||
assert.strictEqual(
|
||||
await stars_count(page),
|
||||
1,
|
||||
"Message star disappeared after switching views.",
|
||||
);
|
||||
|
||||
await toggle_test_star_message(page);
|
||||
assert.strictEqual(await stars_count(page), 0, "Message was not unstarred correctly.");
|
||||
|
|
Loading…
Reference in New Issue