Silence empty tests

This commit is contained in:
cryptogopher 2024-12-22 01:33:39 +01:00
parent 0659c1e1c1
commit 8f85432982
2 changed files with 6 additions and 6 deletions

View File

@ -40,11 +40,11 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
# label "<a> tag with [disabled] attribute" # label "<a> tag with [disabled] attribute"
#end #end
test "click disabled link" do #test "click disabled link" do
# Link should be unclickable # Link should be unclickable
# assert_raises(Selenium::WebDriver::Error::ElementClickInterceptedError) do # assert_raises(Selenium::WebDriver::Error::ElementClickInterceptedError) do
# # Use custom selector for disabled links # # Use custom selector for disabled links
# find('a[disabled]').click # find('a[disabled]').click
# end # end
end #end
end end

View File

@ -136,9 +136,9 @@ class UnitsTest < ApplicationSystemTestCase
within('tbody tr:has(input[type=text])') { assert_selector ':focus' } within('tbody tr:has(input[type=text])') { assert_selector ':focus' }
end end
test "edit" do #test "edit" do
# NOTE: Check if displayed attributes match record # NOTE: Check if displayed attributes match record
end #end
# NOTE: extend with any add/edit link # NOTE: extend with any add/edit link
test "close new unit form with escape key" do test "close new unit form with escape key" do
@ -160,6 +160,6 @@ class UnitsTest < ApplicationSystemTestCase
assert_selector 'tbody > tr:has(input, textarea)' assert_selector 'tbody > tr:has(input, textarea)'
end end
test "destroy" do #test "destroy" do
end #end
end end