Skip to content

Commit

Permalink
LPD-39505 Removing WebContentDisplay#DisplayWebContentWithGeolocation…
Browse files Browse the repository at this point in the history
…Field Poshi test
  • Loading branch information
gergelyszalay committed Nov 15, 2024
1 parent d481b1b commit d63e98d
Showing 1 changed file with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -637,52 +637,6 @@ Welcome to Liferay Community Edition Portal 7.4.0 CE GA1''';
}
}

@description = "This is a use case for LPS-130033. Display web content with Geolocation field in Web Content Display."
@priority = 4
test DisplayWebContentWithGeolocationField {
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 web content based on new structure") {
WebContentNavigator.openWebContentAdmin(siteURLKey = "test-site-name");

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

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

PortletEntry.publish();
}

task ("Select the web content in Web Content Display") {
Navigator.gotoSitePage(
pageName = "Test Page Name",
siteName = "Test Site Name");

WebContentDisplayPortlet.selectWebContent(webContentTitle = "Web Content Title");

IFrame.closeFrame();
}

task ("View the web content is shown in Web Content Display") {
Portlet.viewTitle(portletName = "Web Content Title");

AssertVisible(
key_content = "//div[contains(@id,'Geolocation')]",
locator1 = "WCD#WEB_CONTENT_CONTENT_ANY");
}
}

@description = "Can edit a web content template via Web Content Display."
@priority = 4
test EditTemplate {
Expand Down

0 comments on commit d63e98d

Please sign in to comment.