diff --git a/app/assets/javascripts/admin/templates/dashboard_next_general.hbs b/app/assets/javascripts/admin/templates/dashboard_next_general.hbs
index dc23e075201..71e43a2ef21 100644
--- a/app/assets/javascripts/admin/templates/dashboard_next_general.hbs
+++ b/app/assets/javascripts/admin/templates/dashboard_next_general.hbs
@@ -165,7 +165,11 @@
- {{admin-report dataSourceName="top_referred_topics" reportOptions=topReferredTopicsTopions}}
+ {{admin-report
+ dataSourceName="top_referred_topics"
+ reportOptions=topReferredTopicsTopions
+ startDate=startDate
+ endDate=endDate}}
{{admin-report
dataSourceName="trending_search"
diff --git a/test/javascripts/acceptance/dashboard-next-test.js.es6 b/test/javascripts/acceptance/dashboard-next-test.js.es6
index 6ca125b5356..fa8fef4bfb5 100644
--- a/test/javascripts/acceptance/dashboard-next-test.js.es6
+++ b/test/javascripts/acceptance/dashboard-next-test.js.es6
@@ -4,29 +4,28 @@ acceptance("Dashboard Next", {
loggedIn: true
});
-// TODO: jjaffeux to fix
-// QUnit.test('Visit dashboard next page', async assert => {
-// await visit('/admin');
-//
-// assert.ok(exists('.dashboard-next'), 'has dashboard-next class');
-//
-// assert.ok(exists('.admin-report.signups'), 'signups report');
-// assert.ok(exists('.admin-report.posts'), 'posts report');
-// assert.ok(exists('.admin-report.dau-by-mau'), 'dau-by-mau report');
-// assert.ok(
-// exists('.admin-report.daily-engaged-users'),
-// 'daily-engaged-users report'
-// );
-// assert.ok(
-// exists('.admin-report.new-contributors'),
-// 'new-contributors report'
-// );
-//
-// assert.equal(
-// $('.section.dashboard-problems .problem-messages ul li:first-child')
-// .html()
-// .trim(),
-// 'Houston...',
-// 'displays problems'
-// );
-// });
+QUnit.test("Visit dashboard next page", async assert => {
+ await visit("/admin");
+
+ assert.ok(exists(".dashboard-next"), "has dashboard-next class");
+
+ assert.ok(exists(".admin-report.signups"), "signups report");
+ assert.ok(exists(".admin-report.posts"), "posts report");
+ assert.ok(exists(".admin-report.dau-by-mau"), "dau-by-mau report");
+ assert.ok(
+ exists(".admin-report.daily-engaged-users"),
+ "daily-engaged-users report"
+ );
+ assert.ok(
+ exists(".admin-report.new-contributors"),
+ "new-contributors report"
+ );
+
+ assert.equal(
+ $(".section.dashboard-problems .problem-messages ul li:first-child")
+ .html()
+ .trim(),
+ "Houston...",
+ "displays problems"
+ );
+});