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

Unified Diff: pages/filters/element-hiding-emulation.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-emulation.tmpl
===================================================================
--- a/pages/filters/element-hiding-emulation.tmpl
+++ b/pages/filters/element-hiding-emulation.tmpl
@@ -1,4 +1,4 @@
-title = Element Hiding Emulation / Extended Selectors - ABP Test Pages
+title = Element Hiding Emulation / Extended Selectors
template = testcase
{% set testcase_moreinfo = [
@@ -8,6 +8,7 @@
<section class="site-panel">
<h2>Element Hiding Emulation / Extended Selectors </h2>
<p>Check that element hiding emulation 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 while any green elements should not 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#?#div:-abp-properties(width: 213px)
+ <pre>testpages.adblockplus.org#?#div:-abp-properties(width: 213px)</pre>
</section>
<section class="site-panel">
@@ -32,7 +33,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#div:-abp-has(>div>img.testcase-es-has)
+ <pre>testpages.adblockplus.org#?#div:-abp-has(>div>img.testcase-es-has)</pre>
</section>
@@ -43,7 +44,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#span:-abp-contains(ESContainsTarget)
+ <pre>testpages.adblockplus.org#?#span:-abp-contains(ESContainsTarget)</pre>
</section>
<section class="site-panel">
@@ -55,7 +56,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#div:-abp-has(> div:-abp-properties(width: 214px))
+ <pre>testpages.adblockplus.org#?#div:-abp-has(> div:-abp-properties(width: 214px))</pre>
</section>
@@ -66,7 +67,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#div:-abp-properties(WiDtH: 215px)
+ <pre>testpages.adblockplus.org#?#div:-abp-properties(WiDtH: 215px)</pre>
</section>
<section class="site-panel">
@@ -76,7 +77,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#div:-abp-properties(cursor:*)
+ <pre>testpages.adblockplus.org#?#div:-abp-properties(cursor:*)</pre>
</section>
<section class="site-panel">
@@ -88,7 +89,7 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#div:-abp-properties(/width: 12[1-5]px;/)
+ <pre>testpages.adblockplus.org#?#div:-abp-properties(/width: 12[1-5]px;/)</pre>
</section>
@@ -101,5 +102,5 @@
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- testpages.adblockplus.org#?#div > div :-abp-contains(/Target/)
+ <pre>testpages.adblockplus.org#?#div > div :-abp-contains(/Target/)</pre>
</section>
« README.md ('K') | « pages/filters/element-hiding.tmpl ('k') | pages/filters/image.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld