assert_select "a", {:href=>"/collections/#{container['log']}", :text=>"Download the log"}
assert_select "a", {:href=>"#{container['log']}/baz"}
- assert_not_includes @response.body, '<div id="event_log_div"'
+ assert_not_includes @response.body, '<pre id="event_log_div"'
end
test "visit running container request log tab" do
get :show, {id: cr['uuid'], tab_pane: 'Log'}, session_for(:active)
assert_response :success
- assert_includes @response.body, '<div id="event_log_div"'
+ assert_includes @response.body, '<pre id="event_log_div"'
assert_select 'Download the log', false
end
assert_response :success
assert_match /hello/, @response.body
+ assert_includes @response.body, "href=\"\/collections/fa7aeb5140e2848d39b416daeef4ffc5+45/baz\?" # locator on command
+ assert_includes @response.body, "href=\"\/collections/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar\?" # locator on command
assert_includes @response.body, "href=\"\/collections/fa7aeb5140e2848d39b416daeef4ffc5+45/foo" # mount input1
assert_includes @response.body, "href=\"\/collections/fa7aeb5140e2848d39b416daeef4ffc5+45/bar" # mount input2
assert_includes @response.body, "href=\"\/collections/1fd08fc162a5c6413070a8bd0bffc818+150" # mount workflow