MB System Test 2: Event Home Page to View Playlist

This test runs the Event Home Page to View Playlist scenario.  In this scenario the user accesses the Home Page for 3 different events (Events 1, 2, and 3) in sequential order.  The test checks to see if the correct Event Details are displayed for each event by checking the Event Type. Finally the user clicks the "View Playlist" link to view the playlist for the final event displayed (Event 3).

fit.ActionFixture  
start eg.MBPage    
enter location http://localhost:8080/musicBox/displayEventHome.do?eventId=1 Go to home page for Event 1
check title MusicBox Check page appears: title is "MusicBox"
check linksTo displayPlaylist.do;jsessionid Check link to Display Playlist page
check isTypeWedding YES Check Event Type is Wedding
check isTypeRoadtrip NO Check Event Type is not Roadtrip
enter eventID 2 Enter new Event ID; Event ID = 2
press goEvent   Press "GO!" to go to home page for Event 2
check title MusicBox Check page appears: title is "MusicBox"
check isTypeBBQ YES Check Event Type is BBQ
check isTypeDanceParty NO Check Event Type is not Dance Party
enter eventID 3 Enter new Event ID; Event ID = 3
press goEvent   Press "GO!" to go to home page for Event 3
check isTypeDanceParty YES Check Event Type is Dance Party
check isTypeGeneral NO Check Event Type is not General
press goViewPlaylist   Click "View Playlist" link for Event 3