File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def test_manual_competition_creation(page: Page):
9797 page .get_by_role ("application" ).filter (has_text = "|||xxxxxxxxxx 101:" ).get_by_role (
9898 "textbox"
9999 ).fill ("Test Terms" )
100- page .locator ( 'input[name="registration_auto_approve"]' ). check ()
100+ page .get_by_text ( "Auto approve registration" ). click ()
101101 page .locator ("a" ).filter (has_text = "Pages" ).click ()
102102 page .get_by_role ("button" , name = " Add page" ).click ()
103103 page .get_by_role ("textbox" ).nth (1 ).fill ("Test Title" )
@@ -123,8 +123,8 @@ def test_manual_competition_creation(page: Page):
123123 page .locator (
124124 ".CodeMirror.cm-s-easymde.CodeMirror-wrap.CodeMirror-focused > div > textarea"
125125 ).fill ("This is a phase Test" )
126- page .locator (".ui.search.selection.dropdown.multiple" ). first .click ()
127- page .locator (".ui.search.selection.dropdown.multiple > .search" ). first .fill (
126+ page .locator ("#tasks_select_container > .ui" ) .click ()
127+ page .locator ("#tasks_select_container > .ui > .search" ).fill (
128128 str (titleNum ) + "Playwright Task"
129129 )
130130 page .get_by_text (str (titleNum ) + "Playwright Task" ).nth (1 ).click ()
You can’t perform that action at this time.
0 commit comments