Skip to content

Commit

Permalink
LPD-39505 Removing ContentDisplayWithWebContentTemplate#ViewSelectedW…
Browse files Browse the repository at this point in the history
…ebContentWithGeolocationField
  • Loading branch information
gergelyszalay committed Nov 15, 2024
1 parent 5486110 commit d481b1b
Showing 1 changed file with 0 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,66 +518,6 @@ definition {
}
}

@description = "This is a test for LPS-101248. Display web content with Geolocation field in Content Display."
@priority = 3
test ViewSelectedWebContentWithGeolocationField {
task ("Add a web content structure with a Geolocation field") {
WebContentNavigator.openWebContentAdmin(siteURLKey = "test-site-name");

NavItem.gotoStructures();

WebContentStructures.addCP(structureName = "WC Structure Name");

DataEngine.addField(
fieldFieldLabel = "Geolocation",
fieldName = "Geolocation");

WebContentStructures.saveCP();
}

task ("Add a template for new structure") {
WebContentNavigator.gotoManageTemplatesViaStructures(structureName = "WC Structure Name");

WebContentTemplates.addCP(
templateFieldNames = "Geolocation",
templateName = "WC Template Name");
}

task ("Add a web content based on new structure") {
NavItem.click(navItem = "Web Content");

WebContentNavigator.gotoAddWithStructureCP(structureName = "WC Structure Name");

WebContent.addWithStructureCP(webContentTitle = "Web Content Title");

PortletEntry.publish();
}

task ("Add a Content Display to a content page") {
ContentPagesNavigator.openEditContentPage(
pageName = "Content Page Name",
siteName = "Test Site Name");

PageEditor.addFragment(
collectionName = "Content Display",
fragmentName = "Content Display");
}

task ("Select the web content and template in Content Display") {
PageEditor.editContentDisplay(
fragmentName = "Content Display",
template = "WC Template Name",
webcontent = "true",
webContentTitle = "Web Content Title");
}

task ("View the Geolocation field is shown in Content Display") {
AssertVisible(
key_content = "//div[contains(@id,'Geolocation')]",
locator1 = "WCD#WEB_CONTENT_CONTENT_ANY");
}
}

@description = "This is a test for LPS-101248. Display web content with Grid field in Content Display."
@priority = 3
test ViewSelectedWebContentWithGridField {
Expand Down

0 comments on commit d481b1b

Please sign in to comment.