Skip to content
Snippets Groups Projects
Commit 22b02181 authored by srosse's avatar srosse
Browse files

OO-2430: fix selenium tests

parent c7b3048e
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ public class BookingPage {
* @return
*/
public BookingPage assertFirstNameInListIsOk(UserVO user) {
By rowsBy = By.xpath("//div[contains(@class,'o_sel_order_list')]//table//tr[td/i[contains(@class,'o_ac_order_status_payed_icon')]]/td/a[contains(text(),'" + user.getFirstName() + "')]");
By rowsBy = By.xpath("//div[contains(@class,'o_sel_order_list')]//table//tr[td/i[contains(@class,'o_ac_order_status_payed_icon')]]/td[contains(text(),'" + user.getLastName() + "')]");
List<WebElement> rows = browser.findElements(rowsBy);
Assert.assertEquals(1, rows.size());
return this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment