URL: https://github.com/freeipa/freeipa/pull/3597
Author: serg-cymbaluk
 Title: #3597: [Backport][ipa-4-8] WebUI tests: Fix login screen loading issue
Action: opened

PR body:
"""
This PR was opened automatically because PR #3533 was pushed to master and 
backport to ipa-4-8 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3597/head:pr3597
git checkout pr3597
From b9dd0ae9580f287b08550ed17eb66c8122fefd65 Mon Sep 17 00:00:00 2001
From: Serhii Tsymbaliuk <stsym...@redhat.com>
Date: Wed, 28 Aug 2019 11:18:43 +0200
Subject: [PATCH] WebUI tests: Fix login screen loading issue

test_webui/test_loginscreen fails because login screen is rendered with delays.
To solve the issue small pause added after login.

Ticket: https://pagure.io/freeipa/issue/8053

Signed-off-by: Serhii Tsymbaliuk <stsym...@redhat.com>
---
 ipatests/test_webui/test_loginscreen.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipatests/test_webui/test_loginscreen.py b/ipatests/test_webui/test_loginscreen.py
index fcb59435fb..fb2f9f8988 100644
--- a/ipatests/test_webui/test_loginscreen.py
+++ b/ipatests/test_webui/test_loginscreen.py
@@ -124,6 +124,7 @@ def load_url(self, url):
         WebDriverWait(self.driver, 10).until(
             lambda d: runner.files_loaded()
         )
+        self.wait()
 
     def relogin_with_new_password(self):
         """
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to