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

Unified Diff: pages/filters/element-hiding.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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pages/filters/element-hiding.tmpl
===================================================================
--- a/pages/filters/element-hiding.tmpl
+++ b/pages/filters/element-hiding.tmpl
@@ -1,4 +1,4 @@
-title = Element Hiding - ABP Test Pages
+title = Element Hiding
template = testcase
{% set testcase_moreinfo = [
@@ -8,6 +8,7 @@
<section class="site-panel">
<h2>Element Hiding</h2>
<p>Check that basic element hiding functionality is working as expected.</p>
+ <p>With the filter displayed below each test case added to ABP (or with the testcase subscription installed and active), the red target elements in each test case panel should be hidden.</p>
</section>
<section class="site-panel">
@@ -17,7 +18,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org###testcase-eh-id
+ <pre>testpages.adblockplus.org###testcase-eh-id</pre>
</section>
<section class="site-panel">
@@ -27,7 +28,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##.testcase-eh-class
+ <pre>testpages.adblockplus.org##.testcase-eh-class</pre>
</section>
<section class="site-panel">
@@ -37,7 +38,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##.testcase-container > .testcase-eh-descendant
+ <pre>testpages.adblockplus.org##.testcase-container > .testcase-eh-descendant</pre>
</section>
<section class="site-panel">
@@ -48,7 +49,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##.testcase-eh-sibling + .testcase-eh-sibling-target
+ <pre>testpages.adblockplus.org##.testcase-eh-sibling + .testcase-eh-sibling-target</pre>
</section>
<section class="site-panel">
@@ -60,7 +61,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##table[height="100"][width="100"]
+ <pre>testpages.adblockplus.org##table[height="100"][width="100"]</pre>
</section>
<section class="site-panel">
@@ -70,7 +71,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##a[href="http://testcase-attribute.com/"]
+ <pre>testpages.adblockplus.org##a[href="http://testcase-attribute.com/"]</pre>
</section>
@@ -81,7 +82,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##div[style="width:199px;height:51px;"]
+ <pre>testpages.adblockplus.org##div[style="width:199px;height:51px;"]</pre>
</section>
<section class="site-panel">
@@ -91,7 +92,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##a[href^="http://testcase-attributestartswith.com/"]
+ <pre>testpages.adblockplus.org##a[href^="http://testcase-attributestartswith.com/"]</pre>
</section>
@@ -102,7 +103,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##div[style^="width:201px;height:51px;"]
+ <pre>testpages.adblockplus.org##div[style^="width:201px;height:51px;"]</pre>
</section>
<section class="site-panel">
@@ -112,7 +113,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##div[style$="width:202px;height:51px;"]
+ <pre>testpages.adblockplus.org##div[style$="width:202px;height:51px;"]</pre>
</section>
<section class="site-panel">
@@ -122,5 +123,5 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org##div[style*="width:203px;height:51px;"]
+ <pre>testpages.adblockplus.org##div[style*="width:203px;height:51px;"]</pre>
</section>

Powered by Google App Engine
This is Rietveld