within '.modal-content' do
find 'label', text: 'Virtual Machine'
fill_in "email", :with => "foo@example.com"
within '.modal-content' do
find 'label', text: 'Virtual Machine'
fill_in "email", :with => "foo@example.com"
within '.modal-content' do
find 'label', text: 'Virtual Machine'
within '.modal-content' do
find 'label', text: 'Virtual Machine'
assert !(page.has_text? 'VirtualMachine:')
# Click on Setup button again and this time also choose a VM
assert !(page.has_text? 'VirtualMachine:')
# Click on Setup button again and this time also choose a VM
- assert !(page.has_text? 'Repository: test_repo')
- assert !(page.has_text? 'Repository: second_test_repo')
- assert !(page.has_text? 'VirtualMachine: testvm.shell')
+ assert page.has_no_text? 'Repository: active/'
+ assert page.has_no_text? 'VirtualMachine: testvm.shell'
# setup user again and verify links present
click_link 'Admin'
click_link 'Setup Active User'
within '.modal-content' do
# setup user again and verify links present
click_link 'Admin'
click_link 'Setup Active User'
within '.modal-content' do