Skip to content

Commit

Permalink
further behat adjustment to use importing approach (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
semteacher committed Jan 20, 2025
1 parent 13543f9 commit 2d01eda
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions tests/behat/booking_campaigns.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Feature: Create booking campaigns for booking options as admin and booking it as
| 2 | discount1 | Disc1 | 77 | 0 | 2 |
| 3 | discount2 | Disc2 | 66 | 0 | 3 |
And the following "mod_booking > options" exist:
| booking | text | course | description | importing | maxanswers | datesmarker | optiondateid_1 | daystonotify_1 | coursestarttime_1 | courseendtime_1 | optiondateid_2 | daystonotify_2 | coursestarttime_2 | courseendtime_2 | useprice | spt1 |
| BookingCMP | Option-tenis | C1 | Price-tenis | 1 | 1 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## | 0 | 0 | ## +3 days ## | ## +4 days ## | 1 | tenis |
| BookingCMP | Option-football | C1 | Price-football | 1 | 2 | 1 | 0 | 0 | ## +2 days ## | ## +3 days ## | 0 | 0 | ## +4 days ## | ## +4 days ## | 1 | football |
| BookingCMP | Option-yoga | C1 | Yoga-noprice | 1 | 3 | 1 | 0 | 0 | ## +2 days ## | ## +3 days ## | 0 | 0 | ## +4 days ## | ## +4 days ## | 0 | yoga |
| booking | text | course | description | importing | maxanswers | datesmarker | optiondateid_1 | daystonotify_1 | coursestarttime_1 | courseendtime_1 | optiondateid_2 | daystonotify_2 | coursestarttime_2 | courseendtime_2 | useprice | spt1 |
| BookingCMP | Option-tenis | C1 | Price-tenis | 1 | 1 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## | 0 | 0 | ## +3 days ## | ## +4 days ## | 1 | tenis |
| BookingCMP | Option-football | C1 | Price-football | 1 | 2 | 1 | 0 | 0 | ## +2 days ## | ## +3 days ## | 0 | 0 | ## +4 days ## | ## +4 days ## | 1 | football |
| BookingCMP | Option-yoga | C1 | Yoga-noprice | 1 | 3 | 1 | 0 | 0 | ## +2 days ## | ## +3 days ## | 0 | 0 | ## +4 days ## | ## +4 days ## | 0 | yoga |
And I change viewport size to "1366x10000"

@javascript
Expand Down
12 changes: 6 additions & 6 deletions tests/behat/booking_campaigns2.feature
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ Feature: Create booking campaigns2 for booking options as admin and booking it a
| 2 | discount1 | Disc1 | 77 | 0 | 2 |
| 3 | discount2 | Disc2 | 66 | 0 | 3 |
And the following "mod_booking > options" exist:
| booking | text | course | description | importing | customfield_bcustom1 | useprice | maxanswers | datesmarker | optiondateid_1 | daystonotify_1 | coursestarttime_1 | courseendtime_1 |
| BookingCMP | Option-exclude | C1 | NoPrice-exclude | 1 | exclude | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-nocustom | C1 | nocustom | 1 | | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-include | C1 | NoPrice-include | 1 | include | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-priceexclude | C1 | Price-exclude | 1 | exclude | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-priceinclude | C1 | Price-include | 1 | include | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| booking | text | course | description | importing | bcustom1 | useprice | maxanswers | datesmarker | optiondateid_1 | daystonotify_1 | coursestarttime_1 | courseendtime_1 |
| BookingCMP | Option-exclude | C1 | NoPrice-exclude | 1 | exclude | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-nocustom | C1 | nocustom | 1 | | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-include | C1 | NoPrice-include | 1 | include | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-priceexclude | C1 | Price-exclude | 1 | exclude | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-priceinclude | C1 | Price-include | 1 | include | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
And the following "mod_booking > answers" exist:
| booking | option | user |
| BookingCMP | Option-exclude | student4 |
Expand Down
12 changes: 6 additions & 6 deletions tests/behat/booking_campaigns3.feature
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ Feature: Create booking campaigns3 for booking options as admin and booking it a
| 2 | discount1 | Disc1 | 77 | 0 | 2 |
| 3 | discount2 | Disc2 | 66 | 0 | 3 |
And the following "mod_booking > options" exist:
| booking | text | course | description | importing | customfield_bexcluded1 | useprice | maxanswers | datesmarker | optiondateid_1 | daystonotify_1 | coursestarttime_1 | courseendtime_1 |
| BookingCMP | Option-exclude | C1 | NoPrice-excl_yes | 1 | yes | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-include | C1 | NoPrice-excl_no | 1 | no | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-nocustom | C1 | nocustom | 1 | | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-priceexclude | C1 | Price-excl_yes | 1 | yes | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-priceinclude | C1 | Price-excl_no | 1 | no | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| booking | text | course | description | importing | bexcluded1 | useprice | maxanswers | datesmarker | optiondateid_1 | daystonotify_1 | coursestarttime_1 | courseendtime_1 |
| BookingCMP | Option-exclude | C1 | NoPrice-excl_yes | 1 | yes | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-include | C1 | NoPrice-excl_no | 1 | no | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-nocustom | C1 | nocustom | 1 | | 0 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +2 days ## |
| BookingCMP | Option-priceexclude | C1 | Price-excl_yes | 1 | yes | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
| BookingCMP | Option-priceinclude | C1 | Price-excl_no | 1 | no | 1 | 6 | 1 | 0 | 0 | ## tomorrow ## | ## +3 days ## |
And I change viewport size to "1366x10000"

## @javascript
Expand Down

0 comments on commit 2d01eda

Please sign in to comment.