Skip to content

Commit

Permalink
LPS-133423 Modify task messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Cao committed Jun 23, 2021
1 parent 731697b commit 296727e
Showing 1 changed file with 8 additions and 6 deletions.
Expand Up @@ -73,15 +73,17 @@ definition {
PageEditor.clickPublish();
}

task ("Publish to Live via page in staging site") {
task ("View the displayed content at view mode in staging site") {
ContentPagesNavigator.openViewContentPage(
pageName = "Test Page Name",
siteName = "Test Site Name Staging");

AssertTextEquals(
locator1 = "WCD#WEB_CONTENT_CONTENT",
value1 = "Web Content Content");
}

task ("Publish to Live via page") {
Staging.gotoPublishToLive();

Staging.publishToLive();
Expand All @@ -97,7 +99,7 @@ definition {
value1 = "Web Content Content");
}

task ("Edit the Web Content in staging site") {
task ("Edit the web content in staging site") {
WebContentNavigator.openWebContentAdmin(siteURLKey = "test-site-name-staging");

WebContentNavigator.gotoEditCP(webContentTitle = "Web Content Title");
Expand All @@ -107,7 +109,7 @@ definition {
webContentTitleEdit = "Web Content Title Edit");
}

task ("View the edited Web Content is shown in staging site") {
task ("View the edited web content is shown at view mode in staging site") {
ContentPagesNavigator.openViewContentPage(
pageName = "Test Page Name",
siteName = "Test site Name Staging");
Expand All @@ -117,7 +119,7 @@ definition {
value1 = "Web Content Content Edit");
}

task ("View the old version of the Web Content is shown in live site") {
task ("View the original web content is still shown at view mode in live site") {
ContentPagesNavigator.openViewContentPage(
pageName = "Test Page Name",
siteName = "Test site Name");
Expand All @@ -127,7 +129,7 @@ definition {
value1 = "Web Content Content");
}

task ("Publish to Live via page in staging site") {
task ("Publish to Live via page") {
ContentPagesNavigator.openViewContentPage(
pageName = "Test Page Name",
siteName = "Test Site Name Staging");
Expand All @@ -137,7 +139,7 @@ definition {
Staging.publishToLive();
}

task ("View the edited Web Content is shown in live site") {
task ("View the edited web content is shown at view mode in live site") {
ContentPagesNavigator.openViewContentPage(
pageName = "Test Page Name",
siteName = "Test site Name");
Expand Down

0 comments on commit 296727e

Please sign in to comment.