Skip to content

Commit

Permalink
CB-6369: Update the descriptions of expected results for InAppBrowser…
Browse files Browse the repository at this point in the history
… openWithScript tests.

github: close #53
  • Loading branch information
lmnbeyond authored and cmarcelk committed Mar 28, 2014
1 parent 1fd3148 commit e5aac98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inappbrowser/index.html
Expand Up @@ -344,19 +344,19 @@ <h1>CSS / JS Injection</h1>

<p/>
<div class="btn large" onclick="openWithScript('inject.html', 'inject.js');">Script File Injection</div>
Expected result: open successfully in InAppBrowser with text "Script file successfully injected"
Expected result: open successfully in InAppBrowser with text "Script file successfully injected".

<p/>
<div class="btn large" onclick="openWithScript('inject.html', 'inject.js', true);">Script File Injection (callback)</div>
Expected result: open successfully in InAppBrowser with text "InAppBrowser - Script / Style Injection Test" and alert dialog with the text "Results verified".
Expected result: open successfully in InAppBrowser with text "Script file successfully injected" and alert dialog with the text "Results verified".

<p/>
<div class="btn large" onclick="openWithScript('inject.html');">Script Literal Injection</div>
Expected result: open successfully in InAppBrowser with the text "abc" in small font in the top left corner.
Expected result: open successfully in InAppBrowser with the text "Script literal successfully injected" .

<p/>
<div class="btn large" onclick="openWithScript('inject.html', null, true);">Script Literal Injection (callback)</div>
Expected result: open successfully in InAppBrowser with text "InAppBrowser - Script / Style Injection Test" and alert dialog with the text "Results verified".
Expected result: open successfully in InAppBrowser with the text "Script literal successfully injected" and alert dialog with the text "Results verified".

<h1>Open Hidden </h1>
<div class="btn large" onclick="openHidden('http://google.com',true);">create hidden</div>
Expand Down

0 comments on commit e5aac98

Please sign in to comment.