Browse Source

small refactoring

pull/8526/head
Seraphym-Tuhai 3 years ago
parent
commit
68360bdd7d
  1. 3
      msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ui/pages/DevicePageHelper.java
  2. 2
      msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ui/tests/devicessmoke/CreateDeviceTest.java

3
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ui/pages/DevicePageHelper.java

@ -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
}
}

2
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ui/tests/devicessmoke/CreateDeviceTest.java

@ -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();

Loading…
Cancel
Save