zulip/web/e2e-tests
evykassirer cb6c60ef7a stream_create: Fix puppeteer test flake from modal reopening.
In 245357c868 we added a redirect
after stream creation, to go to the stream feed. This means
the stream settings modal was closed partway through the tests.
This caused a flake where when the modal was reopened it was
not always open by the time we fetched the stream name.

The main fix in this commit is changing the classname for
the stream in the modal to be more specific (`stream-name`
can also be found in the left sidebar in many places) and
waiting for it to be visible again before getting text from
it.

More discussion here:
https://chat.zulip.org/#narrow/channel/43-automated-testing/topic/stream.20create.20puppeteer.20failure/near/1976724

Co-authored-by: Anders Kaseorg <anders@zulip.com>
2024-11-08 14:12:24 -08:00
..
lib eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
admin.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
compose.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
copy-and-paste.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
custom-profile.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
delete-message.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
drafts.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
edit.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
mention.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
message-basics.test.ts buddy_list: Don't go to DM narrow on avatar click. 2024-11-05 10:48:15 -08:00
navigation.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
realm-creation.test.ts realm_creation: Let user choose their org type. 2024-10-20 18:17:04 -07:00
realm-linkifier.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
realm-playground.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
settings.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
stars.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
stream_create.test.ts stream_create: Fix puppeteer test flake from modal reopening. 2024-11-08 14:12:24 -08:00
subscribe_toggle.test.ts stream_settings: Add Not subscribed tab to stream settings. 2024-06-04 09:49:50 -07:00
user-deactivation.test.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
user-status.test.ts eslint: Fix @typescript-eslint/no-confusing-void-expression. 2023-12-21 16:14:40 -08:00