diff --git a/tests/behat/booking_price_formula.feature b/tests/behat/booking_price_formula.feature index 63323fe90..3d518c971 100644 --- a/tests/behat/booking_price_formula.feature +++ b/tests/behat/booking_price_formula.feature @@ -18,15 +18,15 @@ Feature: As a teacher - configure and use booking's price formula feature. | admin1 | C1 | manager | | student1 | C1 | student | | student2 | C1 | student | - And the following "activities" exist: - | activity | course | name | intro | bookingmanager | eventtype | Default view for booking options | Send confirmation e-mail | - | booking | C1 | My booking | My booking description | teacher1 | Webinar | All bookings | Yes | And the following "mod_booking > semesters" exist: | identifier | name | startdate | enddate | | nextmay | Next May | ## first day of May next year ## | ## last day of May next year ## | And the following "mod_booking > pricecategories" exist: | ordernum | identifier | name | defaultvalue | disabled | pricecatsortorder | | 1 | default | Base Price | 70.1 | 0 | 1 | + And the following "activities" exist: + | activity | course | name | intro | bookingmanager | eventtype | Default view for booking options | Send confirmation e-mail | + | booking | C1 | My booking | My booking description | teacher1 | Webinar | All bookings | Yes | And the following "mod_booking > options" exist: | booking | text | course | description | datesmarker | semester | dayofweek | dayofweektime | dayofweekstarttime | dayofweekendtime | | My booking | Price formula option - Dates In timeslot | C1 | Option deskr | 1 | nextmay | Mon | Mon, 18:00-20:00 | 1800 | 2000 | diff --git a/tests/behat/booking_semesters.feature b/tests/behat/booking_semesters.feature index 91f035630..8b4001590 100644 --- a/tests/behat/booking_semesters.feature +++ b/tests/behat/booking_semesters.feature @@ -18,13 +18,13 @@ Feature: As a teacher - configure and use booking's semesters feature. | admin1 | C1 | manager | | student1 | C1 | student | | student2 | C1 | student | - And the following "activities" exist: - | activity | course | name | intro | bookingmanager | eventtype | Default view for booking options | Send confirmation e-mail | - | booking | C1 | My booking | My booking description | teacher1 | Webinar | All bookings | Yes | And the following "mod_booking > semesters" exist: | identifier | name | startdate | enddate | | nextmay | NextMay | ## first day of May next year ## | ## last day of May next year ## | | nextsummer | NextSummer | ## first day of June next year ## | ## last day of August next year ## | + And the following "activities" exist: + | activity | course | name | intro | bookingmanager | eventtype | semester | Default view for booking options | Send confirmation e-mail | + | booking | C1 | My booking | My booking description | teacher1 | Webinar | nextsummer | All bookings | Yes | And the following "mod_booking > options" exist: | booking | text | course | description | semester | | My booking | Price formula option - Dates In timeslot | C1 | Option deskr | nextsummer |