puppeteer: Fix typo in comments in subscriptions tests.

This commit is contained in:
sahil839 2020-08-13 02:29:58 +05:30 committed by Tim Abbott
parent ca1a8ac78f
commit f9651a1e98
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ async function test_subscription_button_verona_stream(page) {
"[data-stream-name='Verona'] .sub_unsub_button:not(.checked)";
// assert it's already checked.
await page.waitForSelector(verona_subscribed_selector, {visible: true});
// get subscribe/unsubscribe button emlement.
// get subscribe/unsubscribe button element.
const subscription_checkmark = await page.$("[data-stream-name='Verona'] .sub_unsub_button");
await subscription_checkmark.click(); // Unsubscribe.
await page.waitForSelector(verona_unsubscribed_selector); // Unsubscribed.