discourse/plugins/chat/spec
Martin Brennan 56aef3c082
DEV: Fix or remove flaky chat specs (#22406)
* DEV: Fix flaky thread nav spec

When we transitioned from the chat thread panel under some conditions
the request for the thread would come back and realise the component
was destroyed, which was trying to do a transition to the channel
itself.

Now we check for the previous route here too and transition to the
correct route.

* DEV: Fix chat transcript spec relying on animation

The on-animation-end modifier is not reliable in system specs
because it fires instantly (we have disabled capybara animations)
so the showCopySuccess boolean can be mutated back to false straight
away.

Better to have a separate boolean tracked with a data-attr that we
can reliably inspect in the system spec.
2023-07-04 16:23:04 +10:00
..
components/chat DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
fabricators FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
integration DEV: Update chat cooked quote spec (#22202) 2023-06-20 10:30:33 +08:00
jobs DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
lib DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
mailers DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
models DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
queries/chat DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
requests DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
serializer DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
services DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
support DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
system DEV: Fix or remove flaky chat specs (#22406) 2023-07-04 16:23:04 +10:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
plugin_spec.rb DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00