Skip to content

Commit 3b9e155

Browse files
committed
Wait for the type configuration form to appear
1 parent 133647e commit 3b9e155

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/support/components/admin/type_configuration_form.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ def edit_query_group(name)
170170

171171
group = find_group(name)
172172
group.find(".type-form-query-group--edit-button").click
173-
wait_for_reload if using_cuprite?
173+
# Wait for the modal to appear.
174+
expect(page).to have_css(".wp-table--configuration-modal")
174175
end
175176

176177
def add_attribute_group(name, expect: true)

0 commit comments

Comments
 (0)