mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Migrate createViewWithBodyClass helper to components
This commit is contained in:
@@ -43,6 +43,8 @@ test("perform various searches", assert => {
|
||||
visit("/search");
|
||||
|
||||
andThen(() => {
|
||||
ok($('body.search-page').length, "has body class");
|
||||
ok(exists('.search-container'), "has container class");
|
||||
assert.ok(find('input.search').length > 0);
|
||||
assert.ok(find('.fps-topic').length === 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user