X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/da2277505faa4b327df7bd0dd03aaf6317e77c11..cea93e7244cb5fb5ca260a83377d661ab99e8491:/test/integration/user_creation_test.rb diff --git a/test/integration/user_creation_test.rb b/test/integration/user_creation_test.rb index 8b6b3ef3c..f331a4b98 100644 --- a/test/integration/user_creation_test.rb +++ b/test/integration/user_creation_test.rb @@ -51,7 +51,8 @@ class UserCreationTest < ActionDispatch::IntegrationTest assert_response :success assert_template "users/new" assert_equal locale.to_s, response.headers["Content-Language"] - assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_email" + assert_select "form" + assert_select "form > div.form-group > input.is-invalid#user_email" assert_no_missing_translations end end @@ -75,7 +76,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest end assert_response :success assert_template "users/new" - assert_select "form > fieldset > div.standard-form-row > input.field_with_errors#user_display_name" + assert_select "form > div.form-group > input.is-invalid#user_display_name" assert_no_missing_translations end end