Commit 346dcb06 authored by Shinya Maeda's avatar Shinya Maeda 💍

Fix spec/features/projects/clusters/user_spec.rb

parent 4716b088
Pipeline #14707990 failed with stages
in 91 minutes and 12 seconds
......@@ -29,9 +29,11 @@ feature 'User Cluster', :js do
it 'user sees a cluster details page' do
expect(page).to have_content('Enable cluster integration')
expect(page).to have_content('dev-cluster')
expect(page).to have_content('http://example.com')
expect(page).to have_content('my-token')
expect(page.find_field('cluster[name]').value).to eq('dev-cluster')
expect(page.find_field('cluster[platform_kubernetes_attributes][api_url]').value)
.to have_content('http://example.com')
expect(page.find_field('cluster[platform_kubernetes_attributes][token]').value)
.to have_content('my-token')
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment