Changes between Version 4 and Version 5 of Ticket #2148


Ignore:
Timestamp:
07/31/2015 05:32:25 AM (5 years ago)
Author:
Ross
Comment:

I've updated this ticket to match what has eventually become the first set of test suite pages. I've created other tickets for updating/improvement of the other sections: #2840 and #2841.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2148

    • Property Ready set
    • Property Tester changed from to Ross
  • Ticket #2148 – Description

    v4 v5  
    11=== Background === 
    22 
    3 The test suite requires various known, static test pages and a test filter file against which to test functionality. A [https://hg.adblockplus.org/testpages.adblockplus.org/ repository] has already been created for these. 
     3The 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. 
    44 
    55=== What to change === 
     
    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   "These pages are intended to provide test cases for those testing ABP." 
     13'''Test suite filter subscription''' 
    1414 
    15 '''Test suite filter file''' 
     15A filter subscription to be used by those following the test suite with rules triggering functionality to be tested on the pages described below. 
    1616 
    17 A filter file to be used by those following the test suite with rules triggering functionality to be tested on the pages described below. 
    18  
    19 The file should be linked to at the start of the test suite section of the home page. 
     17The 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. 
    2018 
    2119'''Test suite pages''' 
     
    2321Page containing test cases for the test suite. Each page consists of a brief explanation of the test case, instructions and the test case itself.  
    2422 
    25 The 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. 
     23The 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). 
    2624 
    27 - TS-01: Basic element hiding 1 
     25- TS-01: Is EasyList installed/enabled 
    2826 
    29   Test: Hiding an element with a really simple selector. 
    30   Copy: "A simple test of basic element hiding functionality with a CSS selector". 
     27  Tests: If EasyList is installed/enabled/working by attempting to hide an element listed in EasyList. 
    3128 
    32 - TS-02: Basic element hiding 2 
     29- TS-02: Is EasyList removed/disabled 
    3330 
    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." 
     31  Tests: If EasyList is not installed/disabled/not working by attempting to hide an element listed in EasyList. 
    3632 
    37 - TS-03: Basic resource blocking 
     33- TS-03:  Is custom subscription installed/enabled 
    3834 
    39   Test: Blocking a resource (an image) using its full path. 
    40   Copy: "A simple test of basic resource blocking functionality." 
     35  Tests: If a custom subscription installed/enabled/working by attempting to hide an element listed included in the subscription. 
    4136 
    42 - TS-04: Is EasyList installed/working? 
    43    
    44   Test: An element that is hidden by EasyList. 
    45   Copy: "Indicates if EasyList is installed and working". 
     37- TS-04: Is custom subscription removed/disabled 
    4638 
    47 - TS-5: Is Custom filter list installed/working? 
    48    
    49   Test: An element that is hidden by the Test suite filter list. 
    50   Copy: "Indicates if the Test suite filter list is installed and working". 
     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. 
    5172 
    5273'''Individual test case pages''' 
     
    7293=== Where to put the changes === 
    7394 
    74 These can be put inside of the /static/ folder of the CMS for now. 
     95These pages exist in /testsuite/ and /testcases/ as markdown files and are rendered using the testsuite and testcase templates.