Commit ff53b31a authored by Kushal Pandya's avatar Kushal Pandya

Toon: Update test for node remove action

parent 1653a4a4
......@@ -83,7 +83,10 @@ describe 'admin Geo Nodes', :js do
it 'removes an existing Geo Node' do
page.within(find('.geo-node-actions', match: :first)) do
page.click_link('Remove')
page.click_button('Remove')
end
page.within('.modal') do
page.click_button('Remove')
end
expect(current_path).to eq admin_geo_nodes_path
......
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