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

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

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Fixed README title Created June 7, 2018, 1:58 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
« no previous file with comments | « pages/exceptions/popup.tmpl ('k') | pages/exceptions/stylesheet.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title = $script Exception - ABP Test Pages 1 title = $script Exception
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 <section class="site-panel"> 8 <section class="site-panel">
9 <h2>$script Exception</h2> 9 <h2>$script Exception</h2>
10 <p>Check that usage of the $script filter option in an exception filter works as expected.</p> 10 <p>Check that usage of the $script filter option in an exception filter works as expected.</p>
11 <p>With the filter(s) displayed below each test case added to ABP (or with the testcase subscription installed and active), the image should be blocked while the script should not be blocked.</p>
11 </section> 12 </section>
12 13
13 <section class="site-panel"> 14 <section class="site-panel">
14 <h2>Test case</h2> 15 <h2>Test case</h2>
15 <div class="testcase-container"> 16 <div class="testcase-container">
16 <div class="testcase-row"> 17 <div class="testcase-row">
17 <h3>Image</h3> 18 <h3>Image</h3>
18 <img class="testcase-image" src="/testcasefiles/scriptexception/image.jpg" /> 19 <img class="testcase-image" src="/testcasefiles/scriptexception/image.jpg" />
19 </div> 20 </div>
20 <div class="testcase-row"> 21 <div class="testcase-row">
21 <h3>Script</h3> 22 <h3>Script</h3>
22 <div id="testcase-scripttarget">Script target</div> 23 <div id="testcase-scripttarget">Script target</div>
23 </div> 24 </div>
24 </div> 25 </div>
25 <h3>Filters</h3> 26 <h3>Filters</h3>
26 ||testpages.adblockplus.org/testcasefiles/scriptexception/*<br> 27 <pre>||testpages.adblockplus.org/testcasefiles/scriptexception/*</pre>
27 @@testpages.adblockplus.org/testcasefiles/scriptexception/$script 28 <pre>@@testpages.adblockplus.org/testcasefiles/scriptexception/$script</pre>
28 </section> 29 </section>
29 30
30 <script src="/testcasefiles/scriptexception/script.js"></script> 31 <script src="/testcasefiles/scriptexception/script.js"></script>
OLDNEW
« no previous file with comments | « pages/exceptions/popup.tmpl ('k') | pages/exceptions/stylesheet.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld