| | 127 | == Test Case 6 == |
| | 128 | === Purpose === |
| | 129 | Verify correct maps are shown on Map page with incident markers in correct locations. |
| | 130 | |
| | 131 | === Configuration === |
| | 132 | These tests assume `dynamicdata\incident_script.xml` is the full incident script. |
| | 133 | |
| | 134 | === Application Startup === |
| | 135 | In a terminal window with `webapps` as the current directory, start the web server with the (Python 2.7) command: `python -m CGIHTTPServer 8080` |
| | 136 | |
| | 137 | Open a web browser to `localhost:8080/einotebook/` |
| | 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." |
| | 140 | |
| | 141 | Click on the Maps tab, and then click on the radio button that says "Full Session". You should see five markers. |
| | 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. |
| | 144 | |
| | 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 | |
| | 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 | |