mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Switch to chrome headless mode instead of phantomjs.
This commit is contained in:
@@ -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'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -37,4 +37,4 @@ QUnit.test("userPath with BaseUri", assert => {
|
||||
assert.equal(userPath(), '/forum/u');
|
||||
assert.equal(userPath('eviltrout'), '/forum/u/eviltrout');
|
||||
assert.equal(userPath('hp.json'), '/forum/u/hp.json');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user