small refactoring

This commit is contained in:
Seraphym-Tuhai 2023-05-09 11:27:44 +03:00
parent 21d1bae8ff
commit 68360bdd7d
2 changed files with 2 additions and 3 deletions

View File

@ -91,7 +91,6 @@ public class DevicePageHelper extends DevicePageElements {
customerOptionBtn().click();
assignOnCustomerField().click();
entityFromList(customerTitle).click();
customerOptionBtn().click();
sleep(1);
sleep(2); //waiting for the action to count
}
}

View File

@ -92,7 +92,7 @@ public class CreateDeviceTest extends AbstractDeviceTest {
@Test(groups = "smoke")
@Description("Create a device with the same name")
public void createRuleChainWithSameName() {
public void createDeviceWithSameName() {
Device device = testRestClient.postDevice("", EntityPrototypes.defaultDevicePrototype(ENTITY_NAME));
deviceName = device.getName();