Skip to content

Commit

Permalink
Adapt repositories features beta tests
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Navarro <enavarro@suse.com>
  • Loading branch information
David Kang and eduardoj committed May 11, 2020
1 parent a206741 commit 2443d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/spec/features/beta/webui/repositories_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

scenario 'add DoD repositories' do
visit(project_repositories_path(project: admin_user.home_project_name))
click_link('Add DoD Repository')
click_menu_link('Actions', 'Add DoD Repository')
fill_in('Repository name', with: 'My DoD repository')
select('i586', from: 'Architecture')
select('rpmmd', from: 'Type')
Expand Down Expand Up @@ -197,7 +197,7 @@
scenario 'add repository from project' do
visit(project_repositories_path(project: admin_user.home_project))

click_link('Add from a Project')
click_menu_link('Actions', 'Add from a Project')
fill_in('target_project', with: repository.project)
# Select the first autocomplete result
find('.ui-menu-item-wrapper', match: :first).click
Expand Down

0 comments on commit 2443d4f

Please sign in to comment.