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

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

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Addressed more feedback. Added README. Created June 7, 2018, 10:20 a.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 = $image Exception - ABP Test Pages 1 title = $image 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 <link rel="stylesheet" href="/testcasefiles/imageexception/stylesheet.css"> 8 <link rel="stylesheet" href="/testcasefiles/imageexception/stylesheet.css">
9 9
10 <section class="site-panel"> 10 <section class="site-panel">
11 <h2>$image Exception</h2> 11 <h2>$image Exception</h2>
12 <p>Check that usage of the $image filter option in an exception filter works a s expected.</p> 12 <p>Check that usage of the $image filter option in an exception filter works a s expected.</p>
13 <p>With the filter(s) displayed below each test case added to ABP (or with the testcase subscription installed and active), the image should not be blocked wh ile the stylesheet should be.</p>
13 </section> 14 </section>
14 15
15 <section class="site-panel"> 16 <section class="site-panel">
16 <h2>Test case</h2> 17 <h2>Test case</h2>
17 <p>The image should not be blocked (exception). The stylesheet should be block ed.</p> 18 <p>The image should not be blocked (exception). The stylesheet should be block ed.</p>
18 <div class="testcase-container"> 19 <div class="testcase-container">
19 <div class="testcase-row"> 20 <div class="testcase-row">
20 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/imageexcepti on/image.jpg"/> 21 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/imageexcepti on/image.jpg"/>
21 </div> 22 </div>
22 <div class="testcase-row"> 23 <div class="testcase-row">
23 <h3>Stylesheet</h3><div class="testcase-teststylesheet"></div> 24 <h3>Stylesheet</h3><div class="testcase-teststylesheet"></div>
24 </div> 25 </div>
25 </div> 26 </div>
26 <h3>Filters</h3> 27 <h3>Filters</h3>
27 ||testpages.adblockplus.org/testcasefiles/imageexception/*<br> 28 <pre>||testpages.adblockplus.org/testcasefiles/imageexception/*</pre>
28 @@testpages.adblockplus.org/testcasefiles/imageexception/$image 29 <pre>@@testpages.adblockplus.org/testcasefiles/imageexception/$image</pre>
29 </section> 30 </section>
OLDNEW
« README.md ('K') | « pages/exceptions/elemhide.tmpl ('k') | pages/exceptions/popup.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld