Changes between Version 5 and Version 9 of Ticket #2148


Ignore:
Timestamp:
03/01/2018 10:10:15 AM (2 years ago)
Author:
Ross
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2148

    • Property Cc Ross added
    • Property Component changed from Websites to Unknown
    • Property Summary changed from Create initial test pages for test suite to Update test pages with testcases for filter types
    • Property Priority changed from P3 to P5
  • Ticket #2148 – Description

    v5 v9  
    11=== Background === 
    22 
    3 The test suite requires various known, static test pages and a test filter subscription against which to test functionality. A [https://hg.adblockplus.org/testpages.adblockplus.org/ repository] has already been created for these. 
     3We want static, simple, self-hosted test pages for testing various ABP filter functionality. A [https://hg.adblockplus.org/testpages.adblockplus.org/ repository] already exists for serving these. 
    44 
    55=== What to change === 
    66 
    7 To match the initial version of the test suite it should consist of: 
    8  
    9 '''Home page''' 
    10  
    11 A 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.  
    12  
    13 '''Test suite filter subscription''' 
    14  
    15 A filter subscription to be used by those following the test suite with rules triggering functionality to be tested on the pages described below. 
    16  
    17 The file should be linked to at the start of the test suite section of the home page and have options for viewing, downloading and subscribing. 
    18  
    19 '''Test suite pages''' 
    20  
    21 Page containing test cases for the test suite. Each page consists of a brief explanation of the test case, instructions and the test case itself.  
    22  
    23 The pages should be set up so if the test filters are not installed or are not working the test case indicates it failed in an obvious way (such as a big red box). If the test filters are installed and are working correctly the failure warning is hidden and the test case indicates it passed (with a big green box). 
    24  
    25 - TS-01: Is EasyList installed/enabled 
    26  
    27   Tests: If EasyList is installed/enabled/working by attempting to hide an element listed in EasyList. 
    28  
    29 - TS-02: Is EasyList removed/disabled 
    30  
    31   Tests: If EasyList is not installed/disabled/not working by attempting to hide an element listed in EasyList. 
    32  
    33 - TS-03:  Is custom subscription installed/enabled 
    34  
    35   Tests: If a custom subscription installed/enabled/working by attempting to hide an element listed included in the subscription. 
    36  
    37 - TS-04: Is custom subscription removed/disabled 
    38  
    39   Tests: If the custom subscription is not installed/disabled/not working by attempting to hide an element listed in the custom subscription. 
    40  
    41 - TS-05: Is hiding filter added/enabled 
    42  
    43   Tests: If a user entered hiding filter has been added/enabled by attempting to hide an element matching the filter. 
    44  
    45 - TS-06: Is hiding filter removed/disabled 
    46  
    47   Tests: If a user entered hiding filter has been removed/disabled by attempting to hide an element matching the filter. 
    48  
    49 - TS-07 - Is exception filter added/enabled 
    50  
    51   Tests: If a user entered exception filter has been added/enabled by attempting to hide (and then except) an element matching the filters. 
    52  
    53 - TS-08 - Is exception filter removed/disabled 
    54  
    55   Tests: If a user entered exception filter has been removed/disabled by attempting to hide (and then except) an element matching the filters. 
    56  
    57 - TS-09 - Is blocking filter added/enabled 
    58  
    59   Tests: If a user entered blocking filter has been added/enabled by attempting to block an element matching the filter. 
    60  
    61 - TS-10 - Is blocking filter removed/disabled 
    62  
    63   Tests: If a user entered blocking filter has been removed/disabled by attempting to block an element matching the filter. 
    64  
    65 - TS-11 - Is Acceptable Ads installed/enabled 
    66  
    67   Tests: If Acceptable Ads is installed/enabled by attempting to hide an element matching an entry on the AA list. 
    68  
    69 - TS-12 - Is Acceptable Ads removed/disabled 
    70  
    71   Tests: If Acceptable Ads is removed/disabled by attempting to hide an element matching an entry on the AA list. 
    72  
    73 '''Individual test case pages''' 
    74  
    75 Pages containing individual test cases for easily testing functionality (such as context menu > Block element). 
    76  
    77 Initial pages should include: 
    78 - <img> with src 
    79 - <img> with srcset 
    80 - <img> with http src 
    81 - <img> with https src 
    82 - <img> with protocol relative src 
    83 - <img> not clickable (behind an overlay <div>) 
    84 - <img> inside of an <iframe> 
    85 - Images covered by an <area> 
    86 - Images via background-image CSS. 
    87 - Images injected via content CSS and base64. 
    88  
    89 The pages should contain some copy explaining the purpose of the page and the expected results when viewing it as part of the test suite.   
    90  
    91 The pages should also link back to the home page. 
    92  
    93 === Where to put the changes === 
    94  
    95 These pages exist in /testsuite/ and /testcases/ as markdown files and are rendered using the testsuite and testcase templates. 
     7- Make layout mobile friendly. 
     8- Remove old test suite pages. 
     9- Add test cases covering all filters types and exceptions. 
     10- Ensure all test case filters can be active at the same time. 
     11- Clean up CSS.