Changes between Version 15 and Version 16 of einotebookTestCases


Ignore:
Timestamp:
12/26/2019 07:18:52 PM (6 years ago)
Author:
tanmay
Comment:

Done with all tests

Legend:

Unmodified
Added
Removed
Modified
  • einotebookTestCases

    v15 v16  
    137137Open a web browser to `localhost:8080/einotebook/` 
    138138 
    139 Four tabs appear with the first tab active ("Incident Summary"). You should see five incidents, the first one with incident number 187 for example reads, "This is a stalled DOT truck on SB 55 overpass at 405."  
     139Four tabs appear with the first tab active ("Incident Summary"). You should see five incidents, the first one with incident number 187 for example reads, "This is a stalled DOT truck on SB 55 overpass at 405." 
    140140 
    141141Click on the Maps tab, and then click on the radio button that says "Full Session". You should see five markers. 
    142142 
    143 Zoom in on the area where the highways 55 and 405 intersect (near John Wayne Airport). You should see a marker at the overpass.  
     143Zoom in on the area where the highways 55 and 405 intersect (near John Wayne Airport). You should see a marker at the overpass. 
    144144 
    145145Click on it to reveal the incident number 187 with the description underneath saying "This is a stalled DOT truck on SB 55 overpass at 405," correctly matching the corresponding one in "Incident Summary". 
    146146 
    147 Repeat the above for all the other four incidents in the "Incident Summary" tab. The locations given in the description of these incidents should match the location of the markers in the "Maps" tab.  
     147Repeat the above for all the other four incidents in the "Incident Summary" tab. The locations given in the description of these incidents should match the location of the markers in the "Maps" tab. 
    148148 
    149 '''Tests..''' 
     149== Test Case 7 == 
     150=== Purpose === 
     151Verify colors are correctly assigned to incidents.  Verify color pallette "wraps around" if there are more incidents than colors in the palette. 
    150152 
    151 Verify colors are correctly assigned to incidents.  Verify color pallette "wraps around" if there are more incidents than colors in the palette. 
     153=== Configuration === 
     154Attached to this page is a test script file: `incident_colors.xml`.  Save this file to the `dynamicdata` directory and rename the file to `incident_script.xml`. 
     155 
     156=== Application Startup === 
     157In a terminal window with `webapps` as the current directory, start the web server with the (Python 2.7) command: `python -m CGIHTTPServer 8080` 
     158 
     159Open a web browser to `localhost:8080/einotebook/` 
     160 
     161Four tabs appear with the first tab active ("Incident Summary"). Click on the "Simulation Script" tab. 
     162 
     163Each incident from incident number 187 to 192 should be colored differently. If a incident number occurs multiple times, in this case 188, the color for all incidents having that incident number should be the same. 
     164 
     165The incidents after 192 should follow the pattern of colors seen in earlier incidents. In this case, incidents 193 and 194 should have the same colors as incidents 187 and 188.