mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 14:18:57 +00:00
- Fixed controller validation handling - Added microsoft365/graph mail driver - Improved password requirements (including breached password check) - Patched creating duplicate users by email in IAM - Patch env mapper - Vehicle/driver tracking API doesnt fire resource lifecycle events or log requests - only tracking events - Patched `<ModelCoordinatesInput />` component - Security patch on Storefront customers API - Styling updates on Storefront
27 lines
800 B
JavaScript
27 lines
800 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 | onboarding/yield', 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`<Onboarding::Yield />`);
|
|
|
|
assert.dom().hasText('');
|
|
|
|
// Template block usage:
|
|
await render(hbs`
|
|
<Onboarding::Yield>
|
|
template block text
|
|
</Onboarding::Yield>
|
|
`);
|
|
|
|
assert.dom().hasText('template block text');
|
|
});
|
|
});
|