mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
sidebar: Narrow to latest topic if not in stream.
We now narrow to the latest topic in stream if we are narrowing from outside the stream, and show all topics grouped together (previous default) if we are already narrowed to the stream. Fixes #7555.
This commit is contained in:
committed by
showell
parent
6d9273819c
commit
eb2bdb706a
@@ -282,6 +282,11 @@ casper.then(function () {
|
||||
casper.click('#stream_filters [data-stream-name="Verona"] a');
|
||||
});
|
||||
|
||||
expect_stream_subject();
|
||||
|
||||
// Click again to now narrow to stream.
|
||||
casper.thenClick('#stream_filters [data-stream-name="Verona"] a');
|
||||
|
||||
expect_stream();
|
||||
|
||||
casper.then(check_narrow_title('Verona - Zulip Dev - Zulip'));
|
||||
|
||||
Reference in New Issue
Block a user