Changes between Initial Version and Version 1 of Ticket #2148


Ignore:
Timestamp:
03/16/2015 11:24:06 AM (5 years ago)
Author:
Ross
Comment:

Updated description to be a better specification of what is required.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2148 – Description

    initial v1  
    77To match the initial version of the test suite it should consist of: 
    88 
    9 * Home page 
     9'''Home page''' 
    1010 
    11   A page linking all of the available test pages + filter file. 
     11A page linking all of the available test pages (below) + filter file (below). It should also contain a brief explanation as to the purpose of the site.  
    1212 
    13 * Test filter file 
     13  "This site is part of the ABP test suite. Available test pages are listed below." 
    1414 
    15   The filter file to be used with the test suite. 
     15'''Basic advert blocking page''' 
    1616 
    17 * Basic advert testing page 
     17A page consisting of basic advert elements (rectangles with the word "Advert" inside of them). These test adverts should be inside of a container element with the class "test-adverts". 
    1818 
    19   A page with basic "advert" elements + explanation. 
     19Advert 1: Should have the HTML class "test-advert-1". 
     20Advert 2: Should have the HTML ID "test-advert-2". 
     21Advert 3: Should have no class or ID. 
    2022 
    21 * Resource blocking testing page 
     23The page should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
    2224 
    23   A page with various resources + explanation. 
     25  "If you have the test filter file installed and enabled, you should not see adverts on this page".  
    2426 
    25 * Element blocking testing page 
     27The page should also link back to the home page. 
    2628 
    27   A page with various media HTML elements + explanation. 
     29'''Resource blocking testing page''' 
    2830 
    29 These can be put in the /static/ folder for now. 
     31A page that includes several resource files, one of which is blocked by the test filter file. 
     32 
     33Resource 1: A PNG image file. 
     34Resource 2: A MP4 movie file. 
     35 
     36The page should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
     37 
     38  "If you have the test filter file installed and enabled, with the browser network tool (link) you should not see the request for the MP4".  
     39 
     40The page should also link back to the home page. 
     41 
     42'''Element blocking testing page''' 
     43 
     44A page that includes the same image resource inside of a parent element with the class "test-case". Each include should use a different include method/tag: 
     45 
     46- <img> with src 
     47- <img> with srcset 
     48- <img> with http src 
     49- <img> with https src 
     50- <img> with protocol relative src 
     51- <img> not clickable (behind an overlay <div>) 
     52- Images via background-image CSS. 
     53- Images in an <area> 
     54- <img> inside of an <iframe> 
     55 
     56The page should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
     57 
     58  "Each of these elements should be selectable using the ABP Block Element tool and should block the image contained inside the square. Please reset your custom filters after blocking an element to reset the page state".  
     59 
     60The page should also link back to the home page. 
     61 
     62'''Test filter file''' 
     63 
     64A test filter file with rules to enforce the behaviour described on the above pages. So for example, it will contain rules to hide the adverts on the "Basic advert blocking" page. 
     65 
     66This file should be linked prominently from the home page with the brief explanation as to its purpose: 
     67 
     68  "This is the test filter file you should have installed while using the test pages." 
     69 
     70=== Where to put the changes === 
     71 
     72These can be put inside of the /static/ folder of the CMS for now.