diff --git a/test/system/archives_test.rb b/test/system/archives_test.rb index 7cc036e..e6729d1 100644 --- a/test/system/archives_test.rb +++ b/test/system/archives_test.rb @@ -3,16 +3,13 @@ class ArchivesTest < ApplicationSystemTestCase include ActiveJob::TestHelper - #BIG_BUCK_BUNNY_URL = "https://vimeo.com/1084537" BIG_BUCK_BUNNY_URL = "https://www.youtube.com/watch?v=YE7VzlLtp-4" - #ELEPHANTS_DREAM_URL = "https://vimeo.com/1132937" ELEPHANTS_DREAM_URL = "https://www.youtube.com/watch?v=TLkA0RELQ1g" VIDEO_1 = "https://x.com/miminashi/status/1330543926416171010" VIDEO_2 = "https://x.com/miminashi/status/1304544532256690178" setup do perform_enqueued_jobs do - #Archive.create(:original_url => BIG_BUCK_BUNNY_URL) Archive.create(:original_url => VIDEO_1) end @@ -21,7 +18,6 @@ class ArchivesTest < ApplicationSystemTestCase test "ビデオアーカイブの表示" do visit archives_path - #click_link "Big Buck Bunny" click_link "Миминаши - フィラメントの乾燥これでやってる(USB接続の温度計とSSRとドライヤーで50℃を保ってる)" assert_selector "h2", text: "Миминаши - フィラメントの乾燥これでやってる(USB接続の温度計とSSRとドライヤーで50℃を保ってる)" @@ -32,7 +28,6 @@ class ArchivesTest < ApplicationSystemTestCase assert_selector "h1", text: "保存したビデオ" click_on "動画を追加する" - #fill_in "動画のURL", with: ELEPHANTS_DREAM_URL fill_in "動画のURL", with: VIDEO_2 assert_selector "h1", text: "保存したビデオ" @@ -41,7 +36,6 @@ class ArchivesTest < ApplicationSystemTestCase perform_enqueued_jobs assert_selector "h1", text: "保存したビデオ" - #assert_text "Elephants Dream" assert_text "Миминаши - スロットマシンみたいなのできた #USBシリーズ" end end