These assertions are not necessary in this tests. This test doesn't want to assert whether the correct params were posted. It wants to assert whether the URL that was returned was opened in the browser. That's what the last line of your scenario already does.