Skip to content

Commit

Permalink
テストの追加
Browse files Browse the repository at this point in the history
  • Loading branch information
maeda-seina committed Feb 1, 2022
1 parent 32e0f3c commit b761a55
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/system/home_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,18 @@ class HomeTest < ApplicationSystemTestCase
assert_no_text '就職関係かつ直近イベントの表示テスト用'
end
end

test 'transition to my profile page from dashboard' do
visit_with_auth '/', 'kimura'
assert_text 'ダッシュボード'
click_link 'マイプロフィール'
assert_text 'kimuraのプロフィール'
end

test 'transition to daily report creation page from dashboard' do
visit_with_auth '/', 'kimura'
assert_text 'ダッシュボード'
click_link '日報作成'
assert_text '日報作成'
end
end

0 comments on commit b761a55

Please sign in to comment.