From 7ab452a78cbd280763833d3d962e78dd3ebe9d06 Mon Sep 17 00:00:00 2001 From: John Smart Date: Wed, 1 Oct 2014 10:44:21 -0700 Subject: [PATCH] Wait for ajax elements to load --- .../services/acceptancetests/pages/MyAccountPage.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/acceptance-tests/src/test/java/flyinghigh/services/acceptancetests/pages/MyAccountPage.java b/acceptance-tests/src/test/java/flyinghigh/services/acceptancetests/pages/MyAccountPage.java index a7300e8..7c26e25 100644 --- a/acceptance-tests/src/test/java/flyinghigh/services/acceptancetests/pages/MyAccountPage.java +++ b/acceptance-tests/src/test/java/flyinghigh/services/acceptancetests/pages/MyAccountPage.java @@ -32,9 +32,7 @@ public int getPointBalance() { } public void waitForFieldsToLoad() { -// waitFor(".possible-destination"); -// waitFor("#departure option:nth-child(2)"); -// waitFor("#destination option:nth-child(2)"); + waitFor("#destination option:nth-child(2)"); waitFor(250).milliseconds(); }