Commit 6bf181e0 authored by Nandy Limachi's avatar Nandy Limachi

Se agrego tiempo de espera

parent bff32e42
......@@ -182,7 +182,8 @@ test.describe( 'Testing Riot', function() {
contadorN++;
driver.findElement( by.xpath( '//*[@id="matrixchat"]/div/div[2]/aside[1]/div[3]/div/div[2]/div' ) ).click();
driver.wait( until.elementLocated( by.xpath( '//*[@id="textinput"]' )), 10000 ).sendKeys( lista_Chat[ contadorN ] );
driver.findElement( by.xpath( '//*[@id="mx_Dialog_Container"]/div/div[1]/div/div[5]/button' ) ).click( );
driver.findElement( by.xpath( '//*[@id="mx_Dialog_Container"]/div/div[1]/div/div[5]/button' ) ).click( );
driver.sleep(2000);
});
}
else{
......@@ -191,6 +192,7 @@ test.describe( 'Testing Riot', function() {
driver.findElement( by.xpath( '//*[@id="matrixchat"]/div/div[2]/aside[1]/div[3]/div/div[2]/div' ) ).click();
driver.wait(until.elementLocated( by.xpath( '//*[@id="textinput"]' )), 10000 ).sendKeys( nuevoContacto[ contadorN ] );
driver.findElement( by.xpath( '//*[@id="mx_Dialog_Container"]/div/div[1]/div/div[5]/button' ) ).click();
driver.sleep(2000);
});
}
return driver.sleep( 2000 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment