зеркало из https://github.com/mozilla/pjs.git
remove_j_id_
This commit is contained in:
Родитель
3dc32d0a09
Коммит
b5d422020d
|
@ -164,11 +164,11 @@ Faces</a> for Ajax.</p>
|
|||
<li class="li2"><div class="de2"> <span class="co1">// Load the main page of the app</span></div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">blockingLoad</span><span class="br0">(</span><span class="st0">"http://javaserver.org/jsf-ajax-cardemo/faces/chooseLocale.jsp"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> <span class="co1">// Choose the "German" language button</span></div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">blockingClickElement</span><span class="br0">(</span><span class="st0">"j_id_id73:Germany"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">blockingClickElement</span><span class="br0">(</span><span class="st0">"Germany"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> <span class="co1">// Choose the roadster</span></div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">blockingClickElement</span><span class="br0">(</span><span class="st0">"j_id_id18:j_id_id43"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">blockingClickElement</span><span class="br0">(</span><span class="st0">"roadsterButton"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> <span class="co1">// Sample the Basis-Preis and Ihr Preis before the ajax transaction</span></div></li>
|
||||
<li class="li1"><div class="de1"> <span class="kw3">Element</span> pricePanel = mcp.<span class="me1">findElement</span><span class="br0">(</span><span class="st0">"j_id_id10:zone1"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> <span class="kw3">Element</span> pricePanel = mcp.<span class="me1">findElement</span><span class="br0">(</span><span class="st0">"zone1"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> assertNotNull<span class="br0">(</span>pricePanel<span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> <span class="kw3">String</span> pricePanelText = pricePanel.<span class="me1">getTextContent</span><span class="br0">(</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> </div></li>
|
||||
|
@ -178,7 +178,7 @@ Faces</a> for Ajax.</p>
|
|||
<li class="li2"><div class="de2"> </div></li>
|
||||
<li class="li1"><div class="de1"> <span class="co1">// Choose the "Tempomat" checkbox</span></div></li>
|
||||
<li class="li2"><div class="de2"> bitSet.<span class="me1">clear</span><span class="br0">(</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">clickElement</span><span class="br0">(</span><span class="st0">"j_id_id10:j_id_id63j_id_1"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> mcp.<span class="me1">clickElement</span><span class="br0">(</span><span class="st0">"cruiseControlCheckbox"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> </div></li>
|
||||
<li class="li1"><div class="de1"> <span class="kw1">while</span> <span class="br0">(</span>!bitSet.<span class="me1">get</span><span class="br0">(</span>TestFeature.<span class="me1">STOP_WAITING</span>.<span class="me1">ordinal</span><span class="br0">(</span><span class="br0">)</span><span class="br0">)</span><span class="br0">)</span> <span class="br0">{</span></div></li>
|
||||
<li class="li2"><div class="de2"> <span class="kw3">Thread</span>.<span class="me1">currentThread</span><span class="br0">(</span><span class="br0">)</span>.<span class="me1">sleep</span><span class="br0">(</span><span class="nu0">5000</span><span class="br0">)</span>;</div></li>
|
||||
|
@ -193,7 +193,7 @@ Faces</a> for Ajax.</p>
|
|||
<li class="li1"><div class="de1"> bitSet.<span class="me1">clear</span><span class="br0">(</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> </div></li>
|
||||
<li class="li1"><div class="de1"> <span class="co1">// Sample the Basis-Preis and Ihr-Preis after the ajax transaction</span></div></li>
|
||||
<li class="li2"><div class="de2"> pricePanel = mcp.<span class="me1">findElement</span><span class="br0">(</span><span class="st0">"j_id_id10:zone1"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> pricePanel = mcp.<span class="me1">findElement</span><span class="br0">(</span><span class="st0">"zone1"</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> assertNotNull<span class="br0">(</span>pricePanel<span class="br0">)</span>;</div></li>
|
||||
<li class="li2"><div class="de2"> pricePanelText = pricePanel.<span class="me1">getTextContent</span><span class="br0">(</span><span class="br0">)</span>;</div></li>
|
||||
<li class="li1"><div class="de1"> </div></li>
|
||||
|
|
Загрузка…
Ссылка в новой задаче