mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-08 07:16:49 +00:00
* Tweaked: few styling improvements * Added: view label functions to customer portal components * Added: bulk dispatch * Fixed: route caching by generating and providing unique name via Fleetbase `RESTRegistrar` * Implemented: impersonation feature for system admin * Fixed: mail settings for smtp and added support for mailgun, sendgrid, postmark and resend * Removed: model cache * Improved test email HTML * Added: self hosted instance extension install instructions * Improved: Webhooks UI
27 lines
798 B
JavaScript
27 lines
798 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from '@fleetbase/console/tests/helpers';
|
|
import { render } from '@ember/test-helpers';
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
module('Integration | Component | impersonator-tray', function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function (assert) {
|
|
// Set any properties with this.set('myProperty', 'value');
|
|
// Handle any actions with this.set('myAction', function(val) { ... });
|
|
|
|
await render(hbs`<ImpersonatorTray />`);
|
|
|
|
assert.dom().hasText('');
|
|
|
|
// Template block usage:
|
|
await render(hbs`
|
|
<ImpersonatorTray>
|
|
template block text
|
|
</ImpersonatorTray>
|
|
`);
|
|
|
|
assert.dom().hasText('template block text');
|
|
});
|
|
});
|