From: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
To: toaster@lists.yoctoproject.org
Cc: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Subject: [PATCH 4/4] toaster/test: Bug-fix "#project-created-notification" should be visible
Date: Fri, 29 Dec 2023 16:11:03 +0100 [thread overview]
Message-ID: <20231229151103.46268-4-alassane.yattara@savoirfairelinux.com> (raw)
In-Reply-To: <20231229151103.46268-1-alassane.yattara@savoirfairelinux.com>
Added more delay between click on create project but and when notification is displayed
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
---
lib/toaster/tests/functional/test_create_new_project.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/toaster/tests/functional/test_create_new_project.py b/lib/toaster/tests/functional/test_create_new_project.py
index bbda0cf4..9f880107 100644
--- a/lib/toaster/tests/functional/test_create_new_project.py
+++ b/lib/toaster/tests/functional/test_create_new_project.py
@@ -49,7 +49,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase):
self.driver.find_element(By.ID, "create-project-button").click()
- element = self.wait_until_visible('#project-created-notification')
+ element = self.wait_until_visible('#project-created-notification', poll=3)
self.assertTrue(
self.element_exists('#project-created-notification'),
f"Project:{project_name} creation notification not shown"
--
2.34.1
prev parent reply other threads:[~2023-12-29 15:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-29 15:11 [PATCH 1/4] toaster/test: bug-fix An element matching "#projectstable" should be visible Alassane Yattara
2023-12-29 15:11 ` [PATCH 2/4] toaster/test: bug-fix An element matching "#lastest_builds" should be on the page Alassane Yattara
2023-12-29 15:11 ` [PATCH 3/4] toaster/test: Skip to show more then 100 item in ToasterTable Alassane Yattara
2023-12-29 15:11 ` Alassane Yattara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231229151103.46268-4-alassane.yattara@savoirfairelinux.com \
--to=alassane.yattara@savoirfairelinux.com \
--cc=toaster@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).