added selenium test for cancel viewing