Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Scott Feeney f0e9786c08 Test user-sidebar unread counts & fix broken tests
This is hard to break up into separate commits; sorry about that.

Before this commit we had 3 tests:

1. Claims to check that an unread count was 3, but actually doesn't.
2. Checks that scrolling down causes the left-sidebar stream unread
   count to decrease.
3. Claims to check that unread counts are correct, but actually doesn't.

From talking to Leo, it seems that he originally tried to actually do
what tests 1 and 3 claim to do, but found it too fragile to check an
exact unread count because of font sizes, layout, etc.

We now have 4 tests. For each of the stream sidebar and user sidebar, we
test that:

1. Scrolling down causes the unread count to decrease
2. Logging out and back in again leaves the unread count unchanged

I've removed the two bogus tests and some other code that didn't seem to
serve a purpose.

(imported from commit 9f8e4b521e2765099510426d0b7e2960885e6f19)
2013-08-22 14:46:13 -04:00
api [manual] Extend /api/v1/streams API endpoint. 2013-08-22 12:29:04 -04:00
assets Change Humbug => Zulip in text/comments. 2013-08-07 10:00:07 -04:00
bots [manual] Extend /api/v1/streams API endpoint. 2013-08-22 12:29:04 -04:00
certs Switch api.zulip.com to signed PositiveSSL / Comodo certificate. 2013-07-15 16:49:54 -04:00
confirmation Move to a common random token generation function instead of several one-offs. 2013-08-09 14:59:26 -04:00
humbug Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Update Postgres pg_hba to match reality 2013-08-22 11:47:03 -04:00
static Avoid side effects in ui.set_presence_list(). 2013-08-22 14:46:13 -04:00
templates Make the floating recipient bar visible in Safari 2013-08-21 18:52:08 -07:00
tools Avoid side effects in ui.set_presence_list(). 2013-08-22 14:46:13 -04:00
zerver Test user-sidebar unread counts & fix broken tests 2013-08-22 14:46:13 -04:00
zproject [manual] Extend /api/v1/streams API endpoint. 2013-08-22 12:29:04 -04:00
.gitignore Add support for analyzing test coverage with Istanbul 2013-08-20 10:46:45 -04:00
manage.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00