     casper.thenClick '.confirm_button'
 
     # Black logs in and opens the game
-    createLoginSession BLACK_EMAIL
-    casper.thenOpen serverUrl
-    casper.thenClick (@lastGameSelector true), =>  # our turn
+    goToGame BLACK_EMAIL, =>
       # White's proposed dead stones show correctly
       @assertGeneralPointCounts test,
         label: "Black views White's counter-proposal"

    casper.thenClick '.confirm_button'

    # White then logs in and opens the game
    createLoginSession WHITE_EMAIL
    casper.thenOpen serverUrl
    casper.thenClick (@lastGameSelector true), =>  # our turn
      # we are in marking mode and the white stones are already marked dead
      @assertGeneralPointCounts test,
        label: "White views Black's proposal"

    casper.thenClick '.confirm_button'

    # White opens the game
    goToGame WHITE_EMAIL
    # seeing the reverted proposal, she resumes play
    casper.thenClick '.resume_button'

    # White being the last to pass, Black has the turn
    goToGame BLACK_EMAIL

registerTest new PassAndScoringTest

