From 51a6c3ecca1b80edecd5d5b887abc60885cf6c35 Mon Sep 17 00:00:00 2001 From: chima1707 Date: Mon, 27 Mar 2017 15:58:42 +0100 Subject: [PATCH] fix: fixed edit operative plan title test --- tests/acceptance/operative-test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/operative-test.js b/tests/acceptance/operative-test.js index 2ad1307c4f..d6fbfc6b52 100644 --- a/tests/acceptance/operative-test.js +++ b/tests/acceptance/operative-test.js @@ -77,6 +77,7 @@ test('Plan and report creation', function(assert) { click('.modal-footer button:contains(Ok)'); }); andThen(() => { + assert.equal(find('.view-current-title').text(), 'Edit Operative Plan', 'Edit operative plan title is correct'); assert.equal(find(`.procedure-listing td.procedure-description:contains(${PROCEDURE_FIX_ARM})`).length, 1, 'Procedure from typeahead gets added to procedure list on save'); click('button:contains(Return)'); });