Skip to content

Commit

Permalink
LPD-30786 Delete tests that are no longer needed after LPD-28444
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinicius Lopes authored and liferay-continuous-integration committed Jul 9, 2024
1 parent 41a2a24 commit 38f6611
Showing 1 changed file with 0 additions and 124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38f6611

Please sign in to comment.