Changes between Version 1 and Version 2 of CPTMSTestCases


Ignore:
Timestamp:
03/20/2019 11:06:37 AM (7 years ago)
Author:
jdalbey
Comment:

draft

Legend:

Unmodified
Added
Removed
Modified
  • CPTMSTestCases

    v1 v2  
    11= CPTMS Test Cases = 
    2 [[BR]]CMS Edit Dialog contains:[[BR]]CMS ID and Location field (readonly)[[BR]]Close button [X] in upper right corner.[[BR]]Phase 1 and Phase 2 input fields, vertically aligned.[[BR]]Current display (six lines).[[BR]]The "Current" display should be in Scoreboard font.[[BR]]Send, Clear, and Close buttons.[[BR]]Mouseover the [X] turns the color from gray to black.[[BR]]Click the [X] or Close button closes the dialog.[[BR]] 
     2== Test Configuration == 
     3Save the attached test files into webapps folders: 
     4 
     5highways_startup_test.json into data_layers 
     6 
     7highway_status_test.json into webapps 
     8 
     9In cptms.html, change these constants to reflect the names of the test files: 
     10 
     11kVDSstatusFile 
     12 
     13kMapStartupFile 
     14 
     15== Application Startup == 
     16In a terminal window with webapps as the current directory, start the web server with the command: `python -m CGIHTTPServer 8080` 
     17 
     18Open a web browser to localhost:8080/cptms.html 
     19 
     20A google map should appear in "night mode" with center near intersection of Irvine Center Drive and Culver Drive. 
     21 
     22 * Zoom in and out buttons in the bottom right corner.  
     23 * Recenter button in center right margin. 
     24 * VDS, CMS, CCTV, and HAR buttons (top to bottom) in lower left corner.  
     25 * Search box in upper left corner (contains the text "Search Box" on a black background.) 
     26 * Thirteen colored dots along highway 55 between Dyer Rd and I-5.  There are 5 white, 5 green, 2 red, and 1 yellow, assigned as specified in the test files. The startup file specifies all dots are white.  The highway_status_test.json file indicates eight dots change to the specified colors.  
     27 * Colored dots overlap in this priority:  Red, yellow, green, white. 
     28 
     29Zoom in and out buttons cause the map to become larger or smaller. 
     30 
     31Zoom and pan once.  Click the recenter button to return to original zoom level and map center point. 
     32 
     33CMS Edit Dialog contains: 
     34 
     35 * CMS ID and Location field (readonly) 
     36 * Close button [X] in upper right corner. 
     37 * Phase 1 and Phase 2 input fields, vertically aligned. 
     38 * Current display (six lines). 
     39 * The "Current" display should be in Scoreboard font. 
     40 * Send, Clear, and Close buttons. 
     41 * Mouseover the [X] turns the color from gray to black. 
     42 * Click the [X] or Close button closes the dialog.