Files
threshold-ui/ui/core/tests/acceptance/host-sets-test.js
T

75 lines
2.1 KiB
JavaScript

import { module, test } from 'qunit';
//import { visit, currentURL } from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
//import a11yAudit from 'ember-a11y-testing/test-support/audit';
// import {
// authenticateSession,
// // These are left here intentionally for future reference.
// //currentSession,
// //invalidateSession,
// } from 'ember-simple-auth/test-support';
module('Acceptance | host sets', function (hooks) {
setupApplicationTest(hooks);
setupMirage(hooks);
hooks.beforeEach(function () {
// Setup Mirage mock resources for this test
// Generate route URLs for resources
});
test('visiting host sets', async function (assert) {
assert.expect(0);
});
test('can navigate to a host set form', async function (assert) {
assert.expect(0);
});
test('can update a host set and save changes', async function (assert) {
assert.expect(0);
});
test('can update a host set and cancel changes', async function (assert) {
assert.expect(0);
});
test('can create new host set', async function (assert) {
assert.expect(0);
});
test('can cancel new host set creation', async function (assert) {
assert.expect(0);
});
test('saving a new host set with invalid fields displays error messages', async function (assert) {
assert.expect(0);
});
test('errors are displayed when save on host set fails', async function (assert) {
assert.expect(0);
});
test('errors are displayed when delete on a host set fails', async function (assert) {
assert.expect(0);
});
test('saving an existing host set with invalid fields displays error messages', async function (assert) {
assert.expect(0);
});
test('can view hosts associated with a host set', async function (assert) {
assert.expect(0);
});
test('can add/remove host associations to a host set and save', async function (assert) {
assert.expect(0);
});
test('can cancel add/remove host associations to a host set', async function (assert) {
assert.expect(0);
});
});