Executed during beforeAll(), after logging in.
Executed during beforeAll(), after logging in.
Overwrite beforeLogin() and afterLogin() for test-specific tasks
Overwrite beforeLogin() and afterLogin() for test-specific tasks
Executed during beforeAll(), before performing any tasks
Executed during beforeAll(), before performing any tasks
Configuration applied after login.
Configuration applied after login. Cookies may be added here.
Override to encode your project specific login mechanism.
Override to encode your project specific login mechanism.
Best practice is to create a trait which overrides the login function and extends the trait Login.
For the following standard mechanisms an implementation is already available.
Configuration applied before login.
Configuration applied before login. Cookies cannot be set in this configuration. The webDriver has to open a connection, before it can set cookies
To navigate to a path during.
To navigate to a path during. For most case calling the setter on path is a better solution. Only use this function, if you group tests, which work on different paths/urls. As soon as you introduce navigateTo for one test, you should call it in all succeeding tests. This to make sure, that a test may be executed on its own.
Configuration.baseUri with path appended is used as uri.
Configuration.baseUri with path appended is used as uri. Per default, the webdriver navigates to uri, before the test is executed.
Executed as first step during beforeAll(), can be used to modify the webdriver, based on information from the ConfigMap
Executed as first step during beforeAll(), can be used to modify the webdriver, based on information from the ConfigMap
Resets all cookies and logs in again
Resets all cookies and logs in again
Sets a cookie for the current test.
Sets a cookie for the current test. Any cookie set through this method is discarded after a test.
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
(Since version ScalaWebTest 3.0.0)
(Since version ScalaWebTest 3.0.0)
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest