Skip to content

Commit

Permalink
LPS-132139 Modify case to logout before login
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Cao authored and brianchandotcom committed May 13, 2021
1 parent 1418ed5 commit 679c6f8
Showing 1 changed file with 4 additions and 12 deletions.
Expand Up @@ -408,19 +408,15 @@ definition {
groupName = "Site Name",
userEmailAddress = "userea@liferay.com");

User.firstLoginPG(
password = "test",
userEmailAddress = "userea@liferay.com");
User.logoutAndLoginPG(userLoginEmailAddress = "userea@liferay.com");

Navigator.openSiteURL(siteName = "Site Name");

Page.viewDefaultSiteTemplatePagesPG(
pageName = "Home",
siteName = "Site Name");

User.firstLoginPG(
password = "test",
userEmailAddress = "test@liferay.com");
User.logoutAndLoginPG(userLoginEmailAddress = "test@liferay.com");

Navigator.gotoSitePage(
pageName = "Home",
Expand All @@ -432,19 +428,15 @@ definition {

PageEditor.clickPublish();

User.firstLoginPG(
password = "test",
userEmailAddress = "userea@liferay.com");
User.logoutAndLoginPG(userLoginEmailAddress = "userea@liferay.com");

Navigator.gotoSitePage(
pageName = "Home",
siteName = "Site Name");

SiteTemplates.viewNoInfoMessage();

User.firstLoginPG(
password = "test",
userEmailAddress = "test@liferay.com");
User.logoutAndLoginPG(userLoginEmailAddress = "test@liferay.com");
}

}

0 comments on commit 679c6f8

Please sign in to comment.