From 0d52e1bf10101e6625bddc49579c7d0159fc4a73 Mon Sep 17 00:00:00 2001 From: Edna Morales Date: Tue, 29 Jul 2014 11:53:53 -0400 Subject: [PATCH] added documentation for manual tests, moved background color test below overlay test --- test/tests.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test/tests.js b/test/tests.js index e49ddb9..8b409ec 100644 --- a/test/tests.js +++ b/test/tests.js @@ -64,11 +64,17 @@ exports.defineManualTests = function (contentEl, createActionButton) { contentEl.innerHTML = '
' + 'Also: tapping bar on iOS should emit a log.' + '
' + - '
' + - '
' + - '
' + - '
' + - '
'; + 'Expected result: Status bar will be visible' + + '

' + + 'Expected result: Status bar will be hidden' + + '

' + + 'Expected result: Status bar text will be a light (white) color' + + '

' + + 'Expected result: Status bar text will be a dark (black) color' + + '

' + + 'Expected result:
Overlay true = status bar will lay on top of web view content
Overlay false = status bar will be separate from web view and will not cover content' + + '

' + + 'Expected result: If overlay false, background color for status bar will be red'; log('StatusBar.isVisible=' + StatusBar.isVisible); window.addEventListener('statusTap', function () { @@ -83,7 +89,7 @@ exports.defineManualTests = function (contentEl, createActionButton) { doHide(); }, 'action-hide'); - createActionButton("Style=red", function () { + createActionButton("Style=red (background)", function () { doColor1(); }, 'action-color1');