Changes between Version 15 and Version 16 of einotebookTestCases
- Timestamp:
- 12/26/2019 07:18:52 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
einotebookTestCases
v15 v16 137 137 Open a web browser to `localhost:8080/einotebook/` 138 138 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." 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." 140 140 141 141 Click on the Maps tab, and then click on the radio button that says "Full Session". You should see five markers. 142 142 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. 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. 144 144 145 145 Click 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". 146 146 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. 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. 148 148 149 '''Tests..''' 149 == Test Case 7 == 150 === Purpose === 151 Verify colors are correctly assigned to incidents. Verify color pallette "wraps around" if there are more incidents than colors in the palette. 150 152 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 === 154 Attached 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 === 157 In a terminal window with `webapps` as the current directory, start the web server with the (Python 2.7) command: `python -m CGIHTTPServer 8080` 158 159 Open a web browser to `localhost:8080/einotebook/` 160 161 Four tabs appear with the first tab active ("Incident Summary"). Click on the "Simulation Script" tab. 162 163 Each 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 165 The 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.
