small refactoring
This commit is contained in:
		
							parent
							
								
									21d1bae8ff
								
							
						
					
					
						commit
						68360bdd7d
					
				@ -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
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user