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 13:40:53 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2017-08-31 03:45:02 +0300
commitddaa6df0b4e9e5927c1dbcb8de9095d1ff110201 (patch)
treeb9e66ccf32bbe2f6776f591f88d4e7ce9254a123 /features
parentb77ecd482abe918ff2f65ca86e7b19a9d2dac01f (diff)
Replace photo_attachments with photo-attachments
closes #7601
Diffstat (limited to 'features')
-rw-r--r--features/desktop/post_preview.feature2
-rw-r--r--features/desktop/posts_from_main_page.feature10
-rw-r--r--features/desktop/posts_from_profile_page.feature2
-rw-r--r--features/mobile/posts_from_main_page.feature4
-rw-r--r--features/step_definitions/custom_web_steps.rb4
5 files changed, 11 insertions, 11 deletions
diff --git a/features/desktop/post_preview.feature b/features/desktop/post_preview.feature
index 3a240e1a0..bf6301c12 100644
--- a/features/desktop/post_preview.feature
+++ b/features/desktop/post_preview.feature
@@ -46,7 +46,7 @@ Feature: preview posts in the stream
When I fill in the following:
| status_message_text | Look at this dog |
And I preview the post
- Then I should see a "img" within ".md-preview .stream-element .photo_attachments"
+ Then I should see a "img" within ".md-preview .stream-element .photo-attachments"
And I should see "Look at this dog" within ".md-preview .stream-element"
And I close the publisher
diff --git a/features/desktop/posts_from_main_page.feature b/features/desktop/posts_from_main_page.feature
index 7e75c7df7..f4be7342b 100644
--- a/features/desktop/posts_from_main_page.feature
+++ b/features/desktop/posts_from_main_page.feature
@@ -78,12 +78,12 @@ Feature: posting from the main page
When I write the status message "Look at this dog"
And I submit the publisher
And I go to the aspects page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
And I should see "Look at this dog" within ".stream-element"
When I log out
And I sign in as "alice@alice.alice"
And I go to "bob@bob.bob"'s page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
And I should see "Look at this dog" within ".stream-element"
Scenario: post a photo without text
@@ -91,13 +91,13 @@ Feature: posting from the main page
And I attach "spec/fixtures/button.png" to the publisher
Then I should see an uploaded image within the photo drop zone
When I press "Share"
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
When I go to the aspects page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
When I log out
And I sign in as "alice@alice.alice"
And I go to "bob@bob.bob"'s page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
Scenario: back out of posting a photo-only post
Given I expand the publisher
diff --git a/features/desktop/posts_from_profile_page.feature b/features/desktop/posts_from_profile_page.feature
index b4804b71c..aa559e812 100644
--- a/features/desktop/posts_from_profile_page.feature
+++ b/features/desktop/posts_from_profile_page.feature
@@ -39,7 +39,7 @@ Feature: posting from own profile page
And I submit the publisher
When I go to the home page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
And I should see "who am I?" within ".stream-element"
Scenario: back out of posting a photo-only post
diff --git a/features/mobile/posts_from_main_page.feature b/features/mobile/posts_from_main_page.feature
index 9afee520d..338b271aa 100644
--- a/features/mobile/posts_from_main_page.feature
+++ b/features/mobile/posts_from_main_page.feature
@@ -35,11 +35,11 @@ Feature: posting from the mobile main page
And I should see an uploaded image within the photo drop zone
When I press "Share"
When I go to the stream page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
When I log out
And I sign in as "alice@alice.alice" on the mobile website
When I go to the stream page
- Then I should see a "img" within ".stream-element div.photo_attachments"
+ Then I should see a "img" within ".stream-element div.photo-attachments"
Scenario: back out of posting a photo-only post
Given I visit the mobile publisher page
diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb
index 25405d5b9..728dda1b4 100644
--- a/features/step_definitions/custom_web_steps.rb
+++ b/features/step_definitions/custom_web_steps.rb
@@ -221,11 +221,11 @@ When /^I resize my window to 800x600$/ do
end
Then 'I should see an image attached to the post' do
- step %(I should see a "img" within ".stream-element div.photo_attachments")
+ step %(I should see a "img" within ".stream-element div.photo-attachments")
end
Then 'I press the attached image' do
- step %(I press the 1st "img" within ".stream-element div.photo_attachments")
+ step %(I press the 1st "img" within ".stream-element div.photo-attachments")
end
And "I wait for the popovers to appear" do