Contents

editing the getting started in the mobile view

@javascript @mobile

Background:

  • Given I am on the login page
  • When I follow "Create account" within ".navbar"
  • And I fill in the new user form
  • And I submit the form
  • Then I should be on the getting started page
  • Then I should see the 'getting started' contents

Scenario: new user does not add any tags in setup wizard

  • When I fill in the following:
    profile_first_namesome name
  • And I follow "awesome_button"
  • Then I should be on the stream page
  • And I should not see "awesome_button"

Scenario: new user adds a profile photo and tags

  • When I accept the alert after I attach the file "spec/fixtures/bad_urls.txt" to "qqfile" within "#file-upload"
  • And I confirm the prompt after I attach the file "spec/fixtures/button.png" to hidden "qqfile" within "#file-upload"
  • Then I should see a "img" within "#profile_photo_upload"
  • When I fill in "follow_tags" with "#men"
  • And I press the first ".as-result-item" within ".as-results"
  • Then I should see "#men" within "ul#as-selections-tags"

Scenario: new user skips the setup wizard

  • When I follow "awesome_button"
  • Then I should be on the stream page
  • And I should not see "awesome_button"

Scenario: new user completes getting started and signs in again later

  • When I sign out
  • And I go to the login page
  • And I sign in manually as "ohai" with password "secret" on the mobile website
  • Then I should be on the getting started page
  • When I follow "awesome_button"
  • Then I should be on the stream page
  • When I sign out
  • And I go to the login page
  • And I sign in manually as "ohai" with password "secret" on the mobile website
  • Then I should be on the stream page

Source: features/mobile/getting_started.feature at commit 07e18e3f, Diaspora (AGPL license).