Skip to content

Commit

Permalink
Update project creation tests in other files
Browse files Browse the repository at this point in the history
  • Loading branch information
malchua committed Nov 8, 2024
1 parent ff06d28 commit c54350e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/system/dashboard/projects_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ def setup

within %(div[data-controller="slugify"][data-controller-connected="true"]) do
fill_in I18n.t(:'activerecord.attributes.namespaces/project_namespace.name'), with: project_name
fill_in I18n.t('projects.new.select_namespace'), with: 'USR'
click_on 'INXT_USR_AAAAAAAAAA'
assert_equal 'new-project',
find_field(I18n.t(:'activerecord.attributes.namespaces/project_namespace.path')).value
fill_in I18n.t(:'activerecord.attributes.namespaces/project_namespace.description'), with: project_description
Expand Down
2 changes: 2 additions & 0 deletions test/system/projects/members_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def setup

within %(div[data-controller="slugify"][data-controller-connected="true"]) do
fill_in I18n.t(:'activerecord.attributes.namespaces/project_namespace.name'), with: project_name
fill_in I18n.t('projects.new.select_namespace'), with: 'USR'
click_on 'INXT_USR_AAAAAAAAAA'
assert_equal 'new-project',
find_field(I18n.t(:'activerecord.attributes.namespaces/project_namespace.path')).value
fill_in I18n.t(:'activerecord.attributes.namespaces/project_namespace.description'), with: project_description
Expand Down

0 comments on commit c54350e

Please sign in to comment.