From 8f85432982c9a467e04e76dc8094a7f4ed9e1e3d Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Sun, 22 Dec 2024 01:33:39 +0100 Subject: [PATCH] Silence empty tests --- test/application_system_test_case.rb | 4 ++-- test/system/units_test.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 2f70892..7d868a6 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -40,11 +40,11 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase # label " tag with [disabled] attribute" #end - test "click disabled link" do + #test "click disabled link" do # Link should be unclickable # assert_raises(Selenium::WebDriver::Error::ElementClickInterceptedError) do # # Use custom selector for disabled links # find('a[disabled]').click # end - end + #end end diff --git a/test/system/units_test.rb b/test/system/units_test.rb index f4b9574..6c53c48 100644 --- a/test/system/units_test.rb +++ b/test/system/units_test.rb @@ -136,9 +136,9 @@ class UnitsTest < ApplicationSystemTestCase within('tbody tr:has(input[type=text])') { assert_selector ':focus' } end - test "edit" do + #test "edit" do # NOTE: Check if displayed attributes match record - end + #end # NOTE: extend with any add/edit link test "close new unit form with escape key" do @@ -160,6 +160,6 @@ class UnitsTest < ApplicationSystemTestCase assert_selector 'tbody > tr:has(input, textarea)' end - test "destroy" do - end + #test "destroy" do + #end end