From c095959e6a0c03d1a7175fc3cf64c229efe535b5 Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Tue, 13 Jun 2023 05:00:29 +0200 Subject: [PATCH] [CI] Make the extremely long status message less long. The old message, being 2048 chars long, apparently sometimes tripped up Ferrum or Chrome itself. The new, shorter, message does that less or not at all. It's still long enough, though, as the way we determine if a status message is "too long" is by height only, so line-breaks work. --- features/step_definitions/publisher_steps.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/step_definitions/publisher_steps.rb b/features/step_definitions/publisher_steps.rb index 56c7917a5..ebf107718 100644 --- a/features/step_definitions/publisher_steps.rb +++ b/features/step_definitions/publisher_steps.rb @@ -42,7 +42,7 @@ When /^I write the status message "([^"]*)"$/ do |text| end When /^I insert an extremely long status message$/ do - write_in_publisher("I am a very interesting message " * 64) + write_in_publisher("long post\n" * 15) end When /^I append "([^"]*)" to the publisher$/ do |text| @@ -66,7 +66,7 @@ When /^I click the publisher and post "([^"]*)"$/ do |text| end When /^I post an extremely long status message$/ do - click_and_post("I am a very interesting message " * 64) + click_and_post("long post\n" * 15) end When /^I select "([^"]*)" on the aspect dropdown$/ do |text|