mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-11 09:07:00 +02:00
* 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
26 lines
744 B
JavaScript
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');
|
|
});
|
|
});
|