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

Unified Diff: pages/filters/blocking.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Created April 18, 2018, 11:54 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/blocking.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/pages/filters/blocking.tmpl
@@ -0,0 +1,42 @@
+title = Blocking - ABP Test Pages
+template = testcase
+
+{% set testcase_moreinfo = [
+ ("Filter Cheatsheet - Blocking", "https://adblockplus.org/filter-cheatsheet#blocking"),
+] %}
+
+<section class="site-panel">
+ <h2>Blocking</h2>
+ <p>Check that basic blocking functionality is working as expected.</p>
+</section>
+
+<section class="site-panel">
+ <h2>Complete Address</h2>
+ <div class="testcase-container">
+ <img class="testcase-contentaside" src="/testcasefiles/blocking/addresscomplete/image.jpg">
+ <div class="testcase-content stripes-grey">Content</div>
+ </div>
+ <h3>Filters</h3>
+ ||testpages.adblockplus.org/testcasefiles/blocking/addresscomplete/image.jpg
+</section>
+
+<section class="site-panel">
+ <h2>Part Address</h2>
+ <div class="testcase-container">
+ <img class="testcase-contentaside" src="/testcasefiles/blocking/addresspart/abptestcasepath/image.jpg">
+ <div class="testcase-content stripes-grey">Content</div>
+ </div>
+ <h3>Filters</h3>
+ /testcasefiles/blocking/addresspart/abptestcasepath/
+</section>
+
+<section class="site-panel">
+ <h2>Wildcard</h2>
+ <div class="testcase-container">
+ <img class="testcase-contentaside" src="/testcasefiles/blocking/wildcard/one/image.jpg">
+ <img class="testcase-contentaside" src="/testcasefiles/blocking/wildcard/two/image.jpg">
+ <div class="testcase-content stripes-grey">Content</div>
+ </div>
+ <h3>Filters</h3>
+ ||testpages.adblockplus.org/testcasefiles/blocking/wildcard/*/image.jpg
+</section>

Powered by Google App Engine
This is Rietveld