diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/segmentation/SegmentationCreateSegment.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/segmentation/SegmentationCreateSegment.testcase index efd1c72db87b55..df3329eda4b3c7 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/segmentation/SegmentationCreateSegment.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/segmentation/SegmentationCreateSegment.testcase @@ -846,130 +846,6 @@ definition { } } - @description = "Test Automation for LPS-130315: Validate if it's posible to create a segment based on Session > Device brand criteria" - @priority = 5 - @uitest - test AddSegmentBySessionDeviceBrand { - property portal.acceptance = "true"; - - task ("Add segment") { - LexiconEntry.gotoAdd(); - - Segmentation.gotoSidebar(fieldType = "Session"); - - Segmentation.addProperties(propertyOption = "Device Brand"); - - Segmentation.fillTitle(titleField = "AddSegmentBySessionDeviceBrand Test"); - - Segmentation.fillProperty(criterionValue = "Apple"); - - Button.clickSave(); - - Alert.viewSuccessMessage(); - } - - task ("Assert the segment is correctly created") { - Segmentation.editSegment(entry = "AddSegmentBySessionDeviceBrand Test"); - - AssertValue( - locator1 = "Segmentation#CRITERION_INPUT_ANY", - value1 = "Apple"); - } - } - - @description = "Test Automation for LPS-130316: Validate if it's posible to create a segment based on Session > Device model criteria" - @priority = 5 - @uitest - test AddSegmentBySessionDeviceModel { - property portal.acceptance = "true"; - - task ("Add segment") { - LexiconEntry.gotoAdd(); - - Segmentation.gotoSidebar(fieldType = "Session"); - - Segmentation.addProperties(propertyOption = "Device Model"); - - Segmentation.fillTitle(titleField = "AddSegmentBySessionDeviceModel Test"); - - Segmentation.fillProperty(criterionValue = "ios"); - - Button.clickSave(); - - Alert.viewSuccessMessage(); - } - - task ("Assert the segment is correctly created") { - Segmentation.editSegment(entry = "AddSegmentBySessionDeviceModel Test"); - - AssertValue( - locator1 = "Segmentation#CRITERION_INPUT_ANY", - value1 = "ios"); - } - } - - @description = "Test Automation for LPS-130317: Validate if it's posible to create a segment based on Session > Device screen resolution height criteria" - @priority = 5 - @uitest - test AddSegmentBySessionDeviceScreenResolutionHeight { - property portal.acceptance = "true"; - - task ("Add segment") { - LexiconEntry.gotoAdd(); - - Segmentation.gotoSidebar(fieldType = "Session"); - - Segmentation.addProperties(propertyOption = "Device Screen Resolution Height"); - - Segmentation.fillTitle(titleField = "AddSegmentBySessionDeviceScreenResolutionHeight Test"); - - Segmentation.fillProperty(criterionValue = 480); - - Button.clickSave(); - - Alert.viewSuccessMessage(); - } - - task ("Assert the segment is correctly created") { - Segmentation.editSegment(entry = "AddSegmentBySessionDeviceScreenResolutionHeight Test"); - - AssertValue( - locator1 = "Segmentation#CRITERION_INPUT_ANY", - value1 = "480.00"); - } - } - - @description = "Test Automation for LPS-130318: Validate if it's posible to create a segment based on Session > Device screen resolution width criteria" - @priority = 5 - @uitest - test AddSegmentBySessionDeviceScreenResolutionWidth { - property portal.acceptance = "true"; - - task ("Add segment") { - LexiconEntry.gotoAdd(); - - Segmentation.gotoSidebar(fieldType = "Session"); - - Segmentation.addProperties(propertyOption = "Device Screen Resolution Width"); - - Segmentation.fillTitle(titleField = "AddSegmentBySessionDeviceScreenResolutionWidth Test"); - - Segmentation.fillProperty(criterionValue = 320); - - Button.clickSave(); - - Alert.viewSuccessMessage(); - } - - task ("Assert the segment is correctly created") { - Segmentation.editSegment(entry = "AddSegmentBySessionDeviceScreenResolutionWidth Test"); - - AssertValue( - locator1 = "Segmentation#CRITERION_INPUT_ANY", - value1 = "320.00"); - } - } - @description = "Test Automation for LPS-130319: Validate if it's posible to create a segment based on Session > Hostname criteria" @priority = 5 @uitest