Switch to chrome headless mode instead of phantomjs.

This commit is contained in:
Guo Xiang Tan
2017-12-19 15:59:41 +08:00
parent 30ddc1f222
commit 6a4f391e38
13 changed files with 284 additions and 721 deletions

View File

@ -38,11 +38,10 @@ QUnit.test("Updating topic notification level", assert => {
"it should display the right notification level"
);
// TODO: tgxworld I can't figure out why the topic timeline doesn't show when
// running the tests in phantomjs
// ok(
// exists(".timeline-footer-controls .notifications-button .watching"),
// 'it should display the right notification level in topic timeline'
// );
assert.equal(
find(`.timeline-footer-controls .select-kit-header`).data().name,
'Watching',
'it should display the right notification level in topic timeline'
);
});
});