Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/filters/script.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Addressed Dave's feedback Created June 4, 2018, 1:21 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 title = $script - ABP Test Pages 1 title = $script
2 template = testcase 2 template = testcase
3 3
4 {% set testcase_moreinfo = [ 4 {% set testcase_moreinfo = [
5 ("Filter Options", "https://adblockplus.org/filters#options"), 5 ("Filter Options", "https://adblockplus.org/filters#options"),
6 ] %} 6 ] %}
7 7
8 8
9 <section class="site-panel"> 9 <section class="site-panel">
10 <h2>$script</h2> 10 <h2>$script</h2>
11 <p>Check that usage of the $script filter option works as expected.</p> 11 <p>Check that usage of the $script filter option works as expected.</p>
12 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the scripts in each test case panel s hould be blocked but the images should not.</p>
12 </section> 13 </section>
13 14
14 <section class="site-panel"> 15 <section class="site-panel">
15 <h2>Test case</h2> 16 <h2>Test case</h2>
16 <p>The script should be blocked. The image should not be blocked.</p> 17 <p>The script should be blocked. The image should not be blocked.</p>
17 <div class="testcase-container"> 18 <div class="testcase-container">
18 <div class="testcase-row"> 19 <div class="testcase-row">
19 <h3>Script</h3><div id="testcase-scripttarget"></div> 20 <h3>Script</h3><div id="testcase-scripttarget"></div>
20 </div> 21 </div>
21 <div class="testcase-row"> 22 <div class="testcase-row">
22 » <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/i mage.jpg"/> 23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image .jpg"/>
23 </div> 24 </div>
24 </div> 25 </div>
25 <h3>Filters</h3> 26 <h3>Filters</h3>
26 testpages.adblockplus.org/testcasefiles/script/$script 27 <pre>testpages.adblockplus.org/testcasefiles/script/$script</pre>
27 </section> 28 </section>
28 29
29 <script src="/testcasefiles/script/script.js"></script> 30 <script src="/testcasefiles/script/script.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld