Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix(tests): enable previously skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
Akanksh Saxena committed Oct 7, 2021
1 parent e32e0ec commit b592aa8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/acceptance/analysis-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { setupMirage } from "ember-cli-mirage/test-support";
import { selectChoose } from "ember-power-select/test-support";
import { setupApplicationTest } from "ember-qunit";
import { authenticateSession } from "ember-simple-auth/test-support";
import { module, skip, test } from "qunit";
import { module, test } from "qunit";

import config from "../../config/environment";
import userSelect from "../helpers/user-select";
Expand All @@ -28,13 +28,11 @@ module("Acceptance | analysis", function(hooks) {
this.server.createList("report", 40, { userId: this.user.id });
});

// TODO enable this
skip("can visit /analysis", async function(assert) {
test("can visit /analysis", async function(assert) {
await visit("/analysis");

assert.dom(".table--analysis tbody tr").exists({ count: 21 });

await find(".table--analysis tbody tr:last-child").scrollIntoView();
assert.dom("[data-test-apply-filters]").exists();
assert.dom("[data-test-widen-filters]").doesNotExist();
});

test("can download a file", async function(assert) {
Expand Down

0 comments on commit b592aa8

Please sign in to comment.