Skip to content

Commit

Permalink
test/system/admin/home_test.rbのテストが通るよう修正
Browse files Browse the repository at this point in the history
お問い合わせのタブが増えたので、その分を修正
  • Loading branch information
a-kuroki-gs committed Feb 15, 2024
1 parent bd5eb62 commit 60d29f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/system/admin/home_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ class Admin::HomeTest < ApplicationSystemTestCase
visit_with_auth '/admin', 'komagata'
assert_equal '管理ページ | FBC', title

assert_selector 'a.page-tabs__item-link', count: 4
assert_selector 'a.page-tabs__item-link', count: 5
assert_selector '.page-tabs__item-link', text: '管理ページ'
assert_selector '.page-tabs__item-link', text: 'ユーザー'
assert_selector '.page-tabs__item-link', text: '企業'
assert_selector '.page-tabs__item-link', text: 'お試し延長'
assert_selector '.page-tabs__item-link', text: 'お問い合わせ'
assert_no_selector '.page-tabs__item-link', text: 'プラクティス'
assert_no_selector '.page-tabs__item-link', text: 'カテゴリー'
assert_no_selector '.page-tabs__item-link', text: 'コース'
Expand Down

0 comments on commit 60d29f2

Please sign in to comment.