vault/ui/tests/integration/components/transform-role-edit-test.js
Chelsea Shaw d9ee6252bf
Ui/transform roles list create (#9852)
* Can see list of roles, templates, and alphabets when you click on corresponding tab inside a transform secrets engine

* Cannot click on items in list other than transformations

* Can create a new transform role from the empty state or toolbar

* Creating a role redirects to the view of that role

* Breadcrumb links on transform roles work

* Role create form handles error
2020-08-28 15:38:00 -05:00

26 lines
744 B
JavaScript

import { module, skip } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
module('Integration | Component | transform-role-edit', function(hooks) {
setupRenderingTest(hooks);
skip('it renders', async function(assert) {
// TODO: Fill out these tests, merging without to unblock other work
await render(hbs`{{transform-role-edit}}`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
{{#transform-role-edit}}
template block text
{{/transform-role-edit}}
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});