Skip to content

Commit

Permalink
[ci] Fix flaky DoD test
Browse files Browse the repository at this point in the history
Wait for the repository container to appear before checking
things within it
  • Loading branch information
coolo committed Jun 22, 2018
1 parent c32e16a commit a0759fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/spec/features/webui/projects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@
fill_in('Public Key', with: 'JLKSDJFSJ83U4902RKLJSDFLJF2J9IJ23OJFKJFSDF')
click_button('Save')

expect(page).to have_css('.repository-container')

within '.repository-container' do
expect(page).to have_text('My DoD repository')
expect(page).to have_link('Delete repository')
Expand Down

0 comments on commit a0759fc

Please sign in to comment.