@Test public void logoutFromAllAppsTest() { productPortalExample.navigateTo(); productPortalExample.productListing(); testRealmLoginPage.form().login("*****@*****.**", "password"); assertCurrentUrlStartsWith(productPortalExample); productPortalExample.waitForProductListingHeader(); productPortalExample.logOut(); assertCurrentUrlStartsWith(productPortalExample); productPortalExample.productListing(); customerPortalExample.navigateTo(); customerPortalExample.customerListing(); testRealmLoginPage.form().login("*****@*****.**", "password"); customerPortalExample.logOut(); }