From aed63c8ffe06dcf620bbf73e1e3bd6ba1f4b38f5 Mon Sep 17 00:00:00 2001 From: Edna Morales Date: Mon, 28 Jul 2014 16:58:13 -0400 Subject: [PATCH] CB-6724 added documentation for manual tests github: close #17 --- tests/tests.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/tests.js b/tests/tests.js index 26163b6..23be97a 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -82,7 +82,10 @@ exports.defineManualTests = function (contentEl, createActionButton) { var html = '
' + 'Results:
' + '' + - '
'; + '
' + + 'Expected result: Status box will update with type of connection using two different methods. Both values must match.' + + ' The result will be unknown, ethernet, wifi, 2g, 3g, 4g, none, or cellular. Make sure it matches what the device is connected to.' + + '

'; document.addEventListener("online", onEvent, false); document.addEventListener("offline", onEvent, false); @@ -90,7 +93,7 @@ exports.defineManualTests = function (contentEl, createActionButton) { createActionButton('Show Network Connection', function () { printNetwork(); - }, 'actions'); + }, 'connection'); createActionButton('Clear Log', function () { document.getElementById('results').innerHTML = '';