1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Skip system test instead of comment it (#348)

* feat: add cursor pointer in the log-in and create account pages, also make full with (it's cutted right now) the fileds in the settings edit page

* feat: skip system test with an explanation instead of comment them

* fix typo in the skip
This commit is contained in:
Pedro López Mareque 2024-02-07 16:09:35 +01:00 committed by GitHub
parent 0ebbae907a
commit 5de5199459
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,14 +5,16 @@ class AccountsTest < ApplicationSystemTestCase
sign_in @user = users(:bob)
end
# test "should create account" do
# click_on "New account"
# click_on "Credit Card"
# within "form" do
# fill_in "Name", with: "VISA"
# fill_in "Balance", with: "1000"
# click_on "Submit"
# end
# assert_text "$1,000"
# end
test "should create account" do
skip("Disabling this test for now, UI is changing to quickly to do systems testing")
click_on "New account"
click_on "Credit Card"
within "form" do
fill_in "Name", with: "VISA"
fill_in "Balance", with: "1000"
click_on "Submit"
end
assert_text "$1,000"
end
end