Changes between Version 2 and Version 3 of Ticket #2148


Ignore:
Timestamp:
04/01/2015 12:49:13 PM (5 years ago)
Author:
Ross
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2148

    • Property Verified working unset
  • Ticket #2148 – Description

    v2 v3  
    1111A 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   "This site is part of the ABP test suite. Available test pages are listed below." 
     13  "These pages are intended to provide test cases for those testing ABP." 
    1414 
    15 '''Basic advert blocking page''' 
     15'''Test suite filter file''' 
    1616 
    17 A 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". 
     17A filter file to be used by those following the test suite with rules triggering functionality to be tested on the pages described below. 
    1818 
    19 Advert 1: Should have the HTML class "test-advert-1". 
    20 Advert 2: Should have the HTML ID "test-advert-2". 
    21 Advert 3: Should have no class or ID. 
     19The file should be linked to at the start of the test suite section of the home page. 
    2220 
    23 The page should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
     21'''Test suite pages''' 
    2422 
    25   "If you have the test filter file installed and enabled, you should not see adverts on this page".  
     23Page containing test cases for the test suite. Each page consists of a brief explanation of the test case, instructions and the test case itself.  
    2624 
    27 The page should also link back to the home page. 
     25The pages should be set up so if the test filters are not installed or are not working the test case indicates it failed. If the test filters are installed and are working correctly the failure warning is hidden and the test case indicates it passed. 
    2826 
    29 '''Resource blocking testing page''' 
     27- TS-01: Basic element hiding 1 
    3028 
    31 A page that includes several resource files, one of which is blocked by the test filter file. 
     29  Test: Hiding an element with a really simple selector. 
     30  Copy: "A simple test of basic element hiding functionality with a CSS selector". 
    3231 
    33 Resource 1: A PNG image file. 
    34 Resource 2: A GIF image file. 
     32- TS-02: Basic element hiding 2 
    3533 
    36 The page should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
     34  Test: Hiding an element with a more complicated filter (using filter options). 
     35  Copy: "Another simple test of basic element hiding functionality but with a more complicated filters." 
    3736 
    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 GIF".  
     37- TS-03: Basic resource blocking 
    3938 
    40 The page should also link back to the home page. 
     39  Test: Blocking a resource (an image) using its full path. 
     40  Copy: "A simple test of basic resource blocking functionality." 
    4141 
    42 '''Element blocking testing page''' 
     42'''Individual test case pages''' 
    4343 
    44 A 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: 
     44Pages containing individual test cases for easily testing functionality (such as context menu > Block element). 
    4545 
     46Initial pages should include: 
    4647- <img> with src 
    4748- <img> with srcset 
     
    5051- <img> with protocol relative src 
    5152- <img> not clickable (behind an overlay <div>) 
     53- <img> inside of an <iframe> 
     54- Images covered by an <area> 
    5255- Images via background-image CSS. 
    53 - Images in an <area> 
    54 - <img> inside of an <iframe> 
     56- Images injected via content CSS and base64. 
    5557 
    56 The page should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
     58The pages should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.  
    5759 
    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  
    60 The page should also link back to the home page. 
    61  
    62 '''Test filter file''' 
    63  
    64 A 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  
    66 This 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." 
     60The pages should also link back to the home page. 
    6961 
    7062=== Where to put the changes ===