vih / vih-build

Drupal profile and .make files for vih.dk

Home Page:http://vih.dk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Behat test failing on Travis

lsolesen opened this issue · comments

Feature: Anonymous user can buy a course
  In order to sell a course online
  As an anonymous user
  I want to be able to buy a course
  Scenario: See a list with the courses                                                                                                                 # features/short_course_registration.feature:6
    Given I am on "/kortekurser"                                                                                                                        # FeatureContext::visit()
    Then I should see "Korte kurser"                                                                                                                    # FeatureContext::assertPageContainsText()
  @demo
  Scenario: When viewing a course the prices are readily available for all room types                                                                   # features/short_course_registration.feature:11
    Given I am on "/kortekurser"                                                                                                                        # FeatureContext::visit()
    When I follow "Basic course more rooms"                                                                                                             # FeatureContext::clickLink()
    Then I should see "Enkeltværelse - to værelser deler bad og toilet i fælles forgang ($2,000.00)"                                                    # FeatureContext::assertPageContainsText()
      The text "Enkeltværelse - to værelser deler bad og toilet i fælles forgang ($2,000.00)" was not found anywhere in the text of the current page.
    And I should see "Dobbeltværelse - to bor på værelse med bad og toilet ($4,000.00)"                                                                 # FeatureContext::assertPageContainsText()