File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
tests/e2e-playwright/tests Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1919import arrow
2020import pytest
2121from faker import Faker
22- from playwright .sync_api import APIRequestContext , BrowserContext , Page
22+ from playwright .sync_api import APIRequestContext , BrowserContext , Page , expect
2323from playwright .sync_api ._generated import Playwright
2424from pydantic import AnyUrl , TypeAdapter
2525from pytest_simcore .helpers .faker_factories import DEFAULT_TEST_PASSWORD
@@ -415,6 +415,10 @@ def log_in_and_out(
415415
416416
417417def open_with_resources (page : Page , click_it : bool ):
418+ study_title_field = page .get_by_test_id ("studyTitleField" )
419+ # wait until the title is automatically filled up
420+ expect (study_title_field ).not_to_have_value ("" , timeout = 5000 )
421+
418422 open_with_resources_button = page .get_by_test_id ("openWithResources" )
419423 if click_it :
420424 open_with_resources_button .click ()
You can’t perform that action at this time.
0 commit comments