small refactoring
This commit is contained in:
parent
21d1bae8ff
commit
68360bdd7d
@ -91,7 +91,6 @@ public class DevicePageHelper extends DevicePageElements {
|
|||||||
customerOptionBtn().click();
|
customerOptionBtn().click();
|
||||||
assignOnCustomerField().click();
|
assignOnCustomerField().click();
|
||||||
entityFromList(customerTitle).click();
|
entityFromList(customerTitle).click();
|
||||||
customerOptionBtn().click();
|
sleep(2); //waiting for the action to count
|
||||||
sleep(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,7 +92,7 @@ public class CreateDeviceTest extends AbstractDeviceTest {
|
|||||||
|
|
||||||
@Test(groups = "smoke")
|
@Test(groups = "smoke")
|
||||||
@Description("Create a device with the same name")
|
@Description("Create a device with the same name")
|
||||||
public void createRuleChainWithSameName() {
|
public void createDeviceWithSameName() {
|
||||||
Device device = testRestClient.postDevice("", EntityPrototypes.defaultDevicePrototype(ENTITY_NAME));
|
Device device = testRestClient.postDevice("", EntityPrototypes.defaultDevicePrototype(ENTITY_NAME));
|
||||||
deviceName = device.getName();
|
deviceName = device.getName();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user