populate_db: Mark onboarding steps as seen for existing users.

This commit updates populate_db to mark all onboarding steps as seen
for existing users to avoid unnecessary popups during development.

Developers should create a new user in development environment
to test the onboarding steps.
This commit is contained in:
Prakhar Pratyush
2024-10-23 12:59:43 +05:30
committed by Tim Abbott
parent 08ed639763
commit c70a3ffb0a
6 changed files with 25 additions and 12 deletions

View File

@@ -92,10 +92,6 @@ async function create_stream(page: Page): Promise<void> {
await page.click("#stream_creation_go_to_subscribers");
await page.type("#create_stream_name", "Test Stream 2");
await page.click("form#stream_creation_form .finalize_create_stream");
// an explanatory modal is shown for the first stream created
await common.wait_for_micromodal_to_open(page);
await page.click(".dialog_submit_button");
await common.wait_for_micromodal_to_close(page);
// We redirect to the channel message view.
await page.waitForSelector("#subscription_overlay", {hidden: true});