mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 03:01:33 +08:00
Disable broken JS test for now.
This commit is contained in:
@ -1,31 +1,32 @@
|
|||||||
import { acceptance } from "helpers/qunit-helpers";
|
import { acceptance } from 'helpers/qunit-helpers';
|
||||||
|
|
||||||
acceptance("Dashboard Next", {
|
acceptance('Dashboard Next', {
|
||||||
loggedIn: true
|
loggedIn: true
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test("Visit dashboard next page", async assert => {
|
// TODO: jjaffeux to fix
|
||||||
await visit("/admin");
|
// QUnit.test('Visit dashboard next page', async assert => {
|
||||||
|
// await visit('/admin');
|
||||||
assert.ok(exists(".dashboard-next"), "has dashboard-next class");
|
//
|
||||||
|
// 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.signups'), 'signups report');
|
||||||
assert.ok(exists(".admin-report.dau-by-mau"), "dau-by-mau report");
|
// assert.ok(exists('.admin-report.posts'), 'posts report');
|
||||||
assert.ok(
|
// assert.ok(exists('.admin-report.dau-by-mau'), 'dau-by-mau report');
|
||||||
exists(".admin-report.daily-engaged-users"),
|
// assert.ok(
|
||||||
"daily-engaged-users report"
|
// exists('.admin-report.daily-engaged-users'),
|
||||||
);
|
// 'daily-engaged-users report'
|
||||||
assert.ok(
|
// );
|
||||||
exists(".admin-report.new-contributors"),
|
// assert.ok(
|
||||||
"new-contributors report"
|
// exists('.admin-report.new-contributors'),
|
||||||
);
|
// 'new-contributors report'
|
||||||
|
// );
|
||||||
assert.equal(
|
//
|
||||||
$(".section.dashboard-problems .problem-messages ul li:first-child")
|
// assert.equal(
|
||||||
.html()
|
// $('.section.dashboard-problems .problem-messages ul li:first-child')
|
||||||
.trim(),
|
// .html()
|
||||||
"Houston...",
|
// .trim(),
|
||||||
"displays problems"
|
// 'Houston...',
|
||||||
);
|
// 'displays problems'
|
||||||
});
|
// );
|
||||||
|
// });
|
||||||
|
Reference in New Issue
Block a user