Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen van Bergerem <svbergerem@omgsrsly.net>2017-08-30 12:47:50 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2017-08-31 03:44:53 +0300
commit77296354852e9ee50b9a44659f68ad8ca728903f (patch)
tree72a7b414c801c32deb6530d00293f462f5d760bc /features
parentcaeaf23d4bc6b65533671c807d284781a9cf8703 (diff)
Replace publisher_textarea_wrapper with publisher-textarea-wrapper
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions/custom_web_steps.rb2
-rw-r--r--features/support/publishing_cuke_helpers.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb
index 812a66f34..d28ccdfed 100644
--- a/features/step_definitions/custom_web_steps.rb
+++ b/features/step_definitions/custom_web_steps.rb
@@ -73,7 +73,7 @@ Then /^the publisher should be expanded$/ do
end
Then /^the text area wrapper mobile should be with attachments$/ do
- find("#publisher_textarea_wrapper")["class"].should include("with_attachments")
+ find("#publisher-textarea-wrapper")["class"].should include("with_attachments")
end
And /^I want to mention (?:him|her) from the profile$/ do
diff --git a/features/support/publishing_cuke_helpers.rb b/features/support/publishing_cuke_helpers.rb
index 9b3dfe222..e4963b221 100644
--- a/features/support/publishing_cuke_helpers.rb
+++ b/features/support/publishing_cuke_helpers.rb
@@ -12,7 +12,7 @@ module PublishingCukeHelpers
def upload_file_with_publisher(path)
page.execute_script(%q{$("input[name='qqfile']").css("opacity", '1');})
- with_scope("#publisher_textarea_wrapper") do
+ with_scope("#publisher-textarea-wrapper") do
attach_file("qqfile", Rails.root.join(path).to_s)
# wait for the image to be ready
page.assert_selector(".publisher_photo.loading", count: 0)