You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info(f"After 1s delay. Current URL: {self.driver.current_url}. Now waiting for URL to contain '/result'...")
258
-
self.wait_long.until(EC.url_contains("/result")) # This is where the timeout occurs
259
-
logger.info(f"Successfully navigated to {self.driver.current_url}. Checking for result container.")
257
+
logger.info(f"After 1s delay. Current URL: {self.driver.current_url}. Now waiting for result page container '{self.RESULT_PAGE_CONTAINER_SELECTOR}'...")
logger.info(f"Result page container '{self.RESULT_PAGE_CONTAINER_SELECTOR}' is present. Current URL: {self.driver.current_url}. Verifying URL and then getting average.")
260
+
self.assertIn("/result", self.driver.current_url, "URL should contain /result after result container is present for 1st calculation")
logger.info(f"Result page container '{self.RESULT_PAGE_CONTAINER_SELECTOR}' is present after 2nd calc. Current URL: {self.driver.current_url}. Verifying URL.")
284
+
self.assertIn("/result", self.driver.current_url, "URL should contain /result after 2nd calc and result container is present")
logger.info(f"Result page container '{self.RESULT_PAGE_CONTAINER_SELECTOR}' is present after 3rd calc. Current URL: {self.driver.current_url}. Verifying URL.")
308
+
self.assertIn("/result", self.driver.current_url, "URL should contain /result after 3rd calc and result container is present")
0 commit comments