| | 56 | |
| | 57 | === Configuration === |
| | 58 | These tests assume `dynamicdata\incident_script.xml` is the full incident script. |
| | 59 | |
| | 60 | In a terminal window (from webapps directory) execute: `python einotebook/spikes/runTimer.py`. |
| | 61 | |
| | 62 | === Application Startup === |
| | 63 | In a terminal window with `webapps` as the current directory, start the web server with the (Python 2.7) command: `python -m CGIHTTPServer 8080` |
| | 64 | |
| | 65 | Open a web browser to `localhost:8080/einotebook/` |
| | 66 | |
| | 67 | Four tabs appear with the first tab active ("Incident Summary"). |
| | 68 | |
| | 69 | The page content is a summary description for each of five incidents. |
| | 70 | |
| | 71 | The start time appears in this format on the left side in the header of each incident, for example for the first incident - "Time: 00:00:00". |
| | 72 | |
| | 73 | The incident number appears on the center in the header of each incident, for example for the first incident - "187". Moreover, each type of incident has a unique incident number. |
| | 74 | |
| | 75 | The title appears on the right side in the header of each incident, for example for the first incident - "Stalled DOT/Traffic Collision" |
| | 76 | |
| | 77 | The description appears below each header of each incident, for example for the first incident - "This is a stalled DOT truck on SB 55 overpass.....". |
| | 78 | |
| | 79 | '''Tests..''' |