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

Side by Side Diff: pages/filters/object.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 = $object - ABP Test Pages 1 title = $object
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>$object</h2> 9 <h2>$object</h2>
10 <p>Check that usage of the $object filter option works as expected.</p> 10 <p>Check that usage of the $object 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 object/swf file in the test case panel should be blocked but the image should not.</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 <p>The object should be blocked. The image should not be blocked.</p> 16 <p>The object should be blocked. The image should not be blocked.</p>
16 <div class="testcase-container"> 17 <div class="testcase-container">
17 <div class="testcase-row"> 18 <div class="testcase-row">
18 <h3>Object</h3><object data="/testcasefiles/object/object.swf" type="appli cation/x-shockwave-flash" style="width: 250px; height: 250px;"></object> 19 <h3>Object</h3><object data="/testcasefiles/object/object.swf" type="appli cation/x-shockwave-flash" style="width: 250px; height: 250px;"></object>
19 </div> 20 </div>
20 <div class="testcase-row"> 21 <div class="testcase-row">
21 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/object/image .jpg"/> 22 <h3>Image</h3>
23 <img class="testcase-image" src="/testcasefiles/object/image.jpg"/>
22 </div> 24 </div>
23 </div> 25 </div>
24 <h3>Filters</h3> 26 <h3>Filters</h3>
25 testpages.adblockplus.org/testcasefiles/object/$object 27 <pre>testpages.adblockplus.org/testcasefiles/object/$object</pre>
26 </section> 28 </section>
OLDNEW
« README.md ('K') | « pages/filters/image.tmpl ('k') | pages/filters/object-subrequest.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld