Merge pull request #8428 from denschub/hackaround-flaky-cuke

Attempt at un-flaky'ing the `preview a very long message` cucumber scenario
This commit is contained in:
Dennis Schubert 2023-06-13 15:24:54 +02:00 committed by GitHub
commit 6430aa3bad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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|