Skip to content

Commit

Permalink
システムテストの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
a-terumoto-gs committed Apr 3, 2024
1 parent 440fbe9 commit 8305434
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/system/pages_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ class PagesTest < ApplicationSystemTestCase
visit_with_auth new_page_path, 'kimura'
fill_in 'page[title]', with: 'Docに関連プラクティスを指定'
fill_in 'page[body]', with: 'Docに関連プラクティスを指定'
first('.select2-container').click
find('li.select2-results__option[role="option"]', text: '[UNIX] Linuxのファイル操作の基礎を覚える').click
first('.choices__inner').click
find('.choices__item--choice', text: '[UNIX] Linuxのファイル操作の基礎を覚える').click
click_button 'Docを公開'
assert_text 'Linuxのファイル操作の基礎を覚える'
end
Expand Down Expand Up @@ -182,8 +182,8 @@ class PagesTest < ApplicationSystemTestCase
visit_with_auth new_page_path, 'kimura'
fill_in 'page[title]', with: 'Docに関連プラクティスを指定'
fill_in 'page[body]', with: 'Docに関連プラクティスを指定'
first('.select2-container').click
find('li.select2-results__option[role="option"]', text: '[UNIX] Linuxのファイル操作の基礎を覚える').click
first('.choices__inner').click
find('.choices__item--choice', text: '[UNIX] Linuxのファイル操作の基礎を覚える').click
click_button 'Docを公開'
assert_text 'Linuxのファイル操作の基礎を覚える'

Expand Down

0 comments on commit 8305434

Please sign in to comment.