Skip to content

Navigate to main site by url

Created by: das-g

On my computer, all integration tests except for test_admin_login were failing when trying to find the 'View site' link. The link is there on the admin page, so I guess this is just a timing problem. Instead of putting wait action into the procedure, I suggest to use a different way so switch from the admin page (which we (ab)use for login) to the page we actually want to test: Just navigate there by URL.

Whether or not the 'View site' link is present and working on the admin page is not something these integration tests should care about. (If we care, we can easily add another integration test specifically testing that. But for now, we can pass on that.)

Reviewed by

  • @beneditatan

Merge request reports