zulip/web
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
..
e2e-tests stream_create: Fix puppeteer test flake from modal reopening. 2024-11-08 14:12:24 -08:00
generated
html 5xx: Remove duplicate `error_page` class applied on page. 2024-07-03 13:35:12 -07:00
images checkboxes: Render border-color-matched SVGs in light and dark modes. 2024-09-16 15:43:47 -07:00
server katex_server: Fix import/no-named-as-default. 2024-09-25 15:41:01 -07:00
shared web: Add setters for rewired variables. 2024-11-08 12:38:14 -08:00
src web: Add setters for rewired variables. 2024-11-08 12:38:14 -08:00
styles unread_count: Set class for legacy quiet counters. 2024-11-07 14:56:38 -08:00
templates unread_count: Set class for legacy quiet counters. 2024-11-07 14:56:38 -08:00
tests tests: Remove babel-plugin-rewire-ts. 2024-11-08 12:38:14 -08:00
third link_styles: Establish variable-based generic link styles. 2024-10-15 15:04:47 -07:00
.browserslistrc
.gitignore emoji: Convert spritesheets to webp. 2024-09-11 09:03:47 -07:00
babel.config.js dependencies: Upgrade JavaScript dependencies. 2024-11-05 17:01:09 -08:00
debug-require-webpack-plugin.ts eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
debug-require.js
postcss.config.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
webpack.assets.json
webpack.config.ts webpack: Disable CompressionPlugin for Puppeteer tests. 2024-11-06 16:47:30 -08:00
webpack.dev-assets.json