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

Delta Between Two Patch Sets: pages/exceptions/elemhide.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Left Patch Set: Created April 18, 2018, 11:54 a.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « pages/exceptions/element-hiding.tmpl ('k') | pages/exceptions/image.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title = $elemhide Exception - ABP Test Pages 1 title = $elemhide 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>$elemhide Exception</h2> 9 <h2>$elemhide Exception</h2>
10 <p>Check that usage of the $elemhide filter option works as expected.</p> 10 <p>Check that usage of the $elemhide filter option works as expected.</p>
11 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the red target elements in each test case panel should be hidden while any green elements should not be hidden.</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-contentaside stripes-green testcase-ex-elemhide">Target </div> 17 <div class="testcase-contentaside stripes-green testcase-ex-elemhide">Target </div>
17 <div class="testcase-contentaside stripes-green testcase-ex-elemhide">Target </div> 18 <div class="testcase-contentaside stripes-green testcase-ex-elemhide">Target </div>
18 <img class="testcase-contentaside" src="/testcasefiles/elemhide/image.jpg"> 19 <img class="testcase-contentaside" src="/testcasefiles/elemhide/image.jpg">
19 <div class="testcase-content stripes-grey">Content</div> 20 <div class="testcase-content stripes-grey">Content</div>
20 </div> 21 </div>
21 <h3>Filters</h3> 22 <h3>Filters</h3>
22 testpages.adblockplus.org##.testcase-ex-elemhide<br> 23 <pre>testpages.adblockplus.org##.testcase-ex-elemhide</pre>
kzar 2018/04/19 13:08:20 Perhaps put the example filters inside pre tags an
kzar 2018/04/23 09:57:27 Well I think you should do it now personally, you
23 ||testpages.adblockplus.org/testcasefiles/elemhide/image.jpg<br> 24 <pre>||testpages.adblockplus.org/testcasefiles/elemhide/image.jpg</pre>
24 @@testpages.adblockplus.org/en/exceptions/elemhide^$elemhide<br> 25 <pre>@@testpages.adblockplus.org/en/exceptions/elemhide^$elemhide</pre>
25 </section> 26 </section>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld