1
0
mirror of synced 2026-08-05 14:47:06 +00:00

Fix JS tests.

This commit is contained in:
Guo Xiang Tan
2017-10-03 18:11:58 +08:00
parent f836047f90
commit 44ade676e1
7 changed files with 32 additions and 26 deletions
@@ -200,7 +200,7 @@ test("Test channel works", assert => {
andThen(() => {
assert.ok(exists('#chat_integration_test_modal'), 'it displays the modal');
assert.ok(find('#send_test').prop('disabled'), 'it disables the send button');
assert.ok(find('#send-test').prop('disabled'), 'it disables the send button');
fillIn('#choose-topic-title', '9318');
});
@@ -209,11 +209,11 @@ test("Test channel works", assert => {
});
andThen(() => {
assert.ok(find('#send_test').prop('disabled') === false, 'it enables the send button');
assert.ok(find('#send-test').prop('disabled') === false, 'it enables the send button');
});
andThen(() => {
click('#send_test');
click('#send-test');
});
andThen(() => {