From d452403322c517eee4fc6120de1ead68ed65ee6a Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Mon, 5 Feb 2018 18:47:46 -0800 Subject: Add functional integration testing to Add Token flow (#3189) --- test/integration/lib/first-time.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/integration/lib/first-time.js') diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js index 06325ab98..6e879dcd0 100644 --- a/test/integration/lib/first-time.js +++ b/test/integration/lib/first-time.js @@ -1,3 +1,4 @@ +const reactTriggerChange = require('react-trigger-change') const PASSWORD = 'password123' const runMascaraFirstTimeTest = require('./mascara-first-time') @@ -16,6 +17,12 @@ async function runFirstTimeUsageTest(assert, done) { return runMascaraFirstTimeTest(assert, done) } + const selectState = $('select') + selectState.val('first time') + reactTriggerChange(selectState[0]) + + await timeout(2000) + const app = $('#app-content') // recurse notices -- cgit v1.2.3