Commit bc874a6f authored by Matija Čupić's avatar Matija Čupić

Add check for cluster change after toggle

parent 2bc3a4dc
......@@ -122,10 +122,12 @@ feature 'Clusters', :js do
context 'with sucessfull request' do
it 'user sees updated cluster' do
cluster_enabled = cluster.enabled
page.find('.js-toggle-cluster-list').click
wait_for_requests
expect(cluster.enabled).to eq(!cluster.enabled)
expect(page).not_to have_selector('.is-checked')
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