DEV: Resolve TODO comments for martin-brennan

I am changing many of these to notes or resolving them as is,
most of these I have not actively worked on in years so someone
else can work on them when we get to these areas again.
This commit is contained in:
Martin Brennan
2024-07-01 15:32:30 +10:00
committed by GitHub
parent 56f34e2d2b
commit ffc99253fa
12 changed files with 18 additions and 33 deletions

View File

@ -43,11 +43,7 @@ describe "Uploading files in the composer", type: :system do
SiteSetting.authorized_extensions += "|mp4"
end
# TODO (martin): Video streaming is not yet available in Chrome for Testing,
# we need to come back to this in a few months and try again.
#
# c.f. https://groups.google.com/g/chromedriver-users/c/1SMbByMfO2U
xit "generates a topic preview thumbnail from the video" do
it "generates a topic preview thumbnail from the video" do
visit "/new-topic"
expect(composer).to be_opened
topic.fill_in_composer_title("Video upload test")
@ -61,8 +57,7 @@ describe "Uploading files in the composer", type: :system do
composer.submit
expect(find("#topic-title")).to have_content("Video upload test")
# I think topic list previews need to be enabled for this?
#expect(topic.image_upload_id).to eq(Upload.last.id)
expect(Topic.last.image_upload_id).to eq(Upload.last.id)
end
it "generates a thumbnail from the video" do