@ Then ( "^The cookie '(.+?)' exists in the saved cookies$" ) public void checkIfCookieExists ( String cookieName ) { Assertions . assertThat ( commonspec . cookieExists ( cookieName ) ) . isEqualTo ( true ) ; }
Check if a cookie exists