From 3ecb06bea968b1a61c8cf66a51072366cc34970d Mon Sep 17 00:00:00 2001 From: Matthew Irish Date: Wed, 13 Mar 2019 09:08:28 -0500 Subject: [PATCH 1/2] fix bug where users couldn't nav back to unwrapped data --- ui/app/templates/partials/tools/unwrap.hbs | 4 ++-- ui/tests/acceptance/tools-test.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/app/templates/partials/tools/unwrap.hbs b/ui/app/templates/partials/tools/unwrap.hbs index 3987d9be5c5d..d04074221a1d 100644 --- a/ui/app/templates/partials/tools/unwrap.hbs +++ b/ui/app/templates/partials/tools/unwrap.hbs @@ -11,10 +11,10 @@ diff --git a/ui/tests/acceptance/tools-test.js b/ui/tests/acceptance/tools-test.js index 29c43589c1e5..39fc12105d85 100644 --- a/ui/tests/acceptance/tools-test.js +++ b/ui/tests/acceptance/tools-test.js @@ -82,6 +82,9 @@ module('Acceptance | tools', function(hooks) { JSON.parse(DATA_TO_WRAP), 'unwrapped data equals input data' ); + await click('[data-test-button-details]'); + await click('[data-test-button-data]'); + assert.dom('.CodeMirror').exists(); //random await click('[data-test-tools-action-link="random"]'); From d35c0aeae40e239b7b013215e554f0943ade0291 Mon Sep 17 00:00:00 2001 From: Matthew Irish Date: Wed, 13 Mar 2019 09:34:09 -0500 Subject: [PATCH 2/2] don't autocomplete wrapped token input on unwrap page --- ui/app/templates/partials/tools/unwrap.hbs | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/templates/partials/tools/unwrap.hbs b/ui/app/templates/partials/tools/unwrap.hbs index d04074221a1d..9ac78bc96409 100644 --- a/ui/app/templates/partials/tools/unwrap.hbs +++ b/ui/app/templates/partials/tools/unwrap.hbs @@ -75,6 +75,7 @@ class="input" id="token" name="token" + autocomplete="off" data-test-tools-input="wrapping-token" }}