diff --git a/app/templates/inventory-basic.hbs b/app/templates/inventory-basic.hbs index cf551b2f3c..d8f1ea1d86 100644 --- a/app/templates/inventory-basic.hbs +++ b/app/templates/inventory-basic.hbs @@ -5,15 +5,16 @@ {{input class="form-control test-item-id" value=model.friendlyId type="text" disabled=true }} {{/unless}} - {{em-input property="name" label="Name" class="required col-sm-8 test-inv-name"}} + {{em-input property="name" label="Name" class="required col-sm-6 test-inv-name"}} + {{inventory/rank-select property="rank"}} {{#unless model.isNew}}

{{model.quantity}}

{{/unless}} - + {{em-text label="Description" property="description" rows=1 }}
{{em-select label="Type" property="inventoryType" diff --git a/tests/acceptance/inventory-test.js b/tests/acceptance/inventory-test.js index e58dfb17e9..c9566b96dc 100644 --- a/tests/acceptance/inventory-test.js +++ b/tests/acceptance/inventory-test.js @@ -38,6 +38,7 @@ test('Adding a new inventory item', (assert) => { assert.equal(currentURL(), '/inventory/edit/new'); }); fillIn('.test-inv-name input', 'Biogesic'); + select('.test-inv-rank', 'B'); fillIn('textarea', 'Biogesic nga medisina'); select('.test-inv-type', 'Medication'); fillIn('.test-inv-cross input', '2600');