To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorCreate a list of bookings
Create a list of bookings to be used later
- Background
-
- Given
- I am on the JetStar MMB site
- Scenarios
-
- Book a detailed return flight from ADL to SYD
- Book a detailed one way flight from MEL to SYD
- TC_005_001 - Enter a non-existing PNR
- TC_005_002 - Enter a non-existing PNR
- TC_006_001 - Verfiy that the check-in button displayed on the reservation page for a flight that departs with 48 hours.
- TC_006_002 - Verfiy if both dep and ret flights are within 48 hours that they can be check-in
- TC_007 - Verfiy that flights cheaper than the original are not displayed
- TC_008 - Verfiy that flights bundles can no be downgraded through the app
- TC_009_001 - Retreive a booking and verify that a user can not downgrade meals
- TC_009_002 - Retreive a booking and verify that a user can not downgrade entertainment
- TC_010 - Check that currency displayed in the myFlights page is that of the origin's country
- TC_012 - Verfiy that a one way flight can not be updated to a return flight
- TC_013 - Verfiy that a flight which departs with 48 hours can not change flight date-time
- TC_014 - Verfiy that a PNR can be change to availible flights next year
- TC_016 - Verify that no booking free is charge when using a Free form of payment for adding ancillary
- TC_017 - Verify that when SSR's are transfered the user see's a message saying as much
- TC_019 -> TC_020 - X flight segments can transfer existing ancillaries to Y flight segments
- TC_021 - Book a multiple segment PNR update the PNR with extra baggae and verify that the baggaging extra is added for each segment
- TC_024 - Book a PNR with premium seating. Verify seat transfer to a new flight.
- TC_037 - Book a PNR with 35kg. Verify that the user can not downgrade to 15kg
- TC_038 - Book a PNR with 0kg. Verify that a user can upgrade to 15kg
- TC_039 - Verify that extra baggage is updated dynamically and displayed as expected in the booking summary
- TC_048 - Verify that no booking free is charge when using a Free form of payment for changing a flight
- TC_049 - Verify that no booking free is charge when using a Free form of payment for adding ancillary
- Verify that meal SSRs are not availble when a user books a domestic flight.
- Verify that meal SSRs are availble when a user books a international flight.
- Change the flight date on a Max bundle PNR and verify that meal options are not displayed
- Add 5kg of excess baggage to a booking twice
- Book all entertainment on a specific flight
- Book a detailed return flight from ADL to SYD
-
- When
- I go to the booking flow
- And
- I choose a "Return" flight departing from "KUL" and arriving in "SYD"
- And
- I choose a "Departing" flight in 8 days time
- And
- I choose a "Returning" flight in 12 days time
- And
- I search for flights
- And
- I select any departing flight time
- And
- I select any returning flight time
- And
- I select "no" bundle for my "Starter" flight
- And
- I select "no" bundle for my "Starter" flight
- And
- I fill in the Passengers details
- And
- I add "20kg" baggage for all passengers
- And
- I skip seating
- And
- I pay with "Diner"
- Then
- I should see a "Confirmed" message
- Book a detailed one way flight from MEL to SYD
-
- When
- I go to the booking flow
- And
- I choose a "One Way" flight departing from "MEL" and arriving in "SYD"
- And
- I choose a "Departing" flight in 12 days time
- And
- I search for flights
- And
- I select any departing flight time
- And
- I select "no" bundle for my "Starter" flight
- And
- I fill in the Passengers details
- And
- I add "15kg" baggage for all passengers
- And
- I skip seating
- And
- I pay with "Diner"
- Then
- I should see a "Confirmed" message
- TC_005_001 - Enter a non-existing PNR
-
- When
- I enter a non-existing PNR and a valid email
- Then
- I see a error "We are not able to access your booking."
- TC_005_002 - Enter a non-existing PNR
-
- When
- I enter a existing PNR and an invalid email
- Then
- I see a error "Please address the errors below:"
- TC_006_001 - Verfiy that the check-in button displayed on the reservation page for a flight that departs with 48 hours.
-
- When
- I book a basic one way flight from "MEL" to "SYD" for 2 days time
- And
- I retrieve my booking
- Then
- I see a check-in button displayed on the reservation page
- TC_006_002 - Verfiy if both dep and ret flights are within 48 hours that they can be check-in
-
- When
- I book a basic return flight from "MEL" to "SYD" for 2 days time
- And
- I retrieve my booking
- Then
- I see a check-in button displayed on the reservation page
- TC_007 - Verfiy that flights cheaper than the original are not displayed
-
- When
- I book the most expensive one way flight from "MEL" to "SYD" on a given day
- And
- I retrieve my booking
- And
- I go to change my flight on the same day
- Then
- I should see that all the flights are displayed with then same price.
- TC_008 - Verfiy that flights bundles can no be downgraded through the app
-
- When
- I book the MAX bundle one way flight from "MEL" to "SYD" on a given day
- And
- I retrieve my booking
- Then
- I go to change my flight on the same day to a Plus bundle and I can't
- TC_009_001 - Retreive a booking and verify that a user can not downgrade meals
-
- When
- I book a international flight with meals from "MEL" to "KUL"
- And
- I retrieve my booking
- Then
- I try to remove meals form my flight and can not
- TC_009_002 - Retreive a booking and verify that a user can not downgrade entertainment
-
- When
- I book a international flight with entertainment from "MEL" to "KUL"
- And
- I retrieve my booking
- Then
- I try to remove entertainment form my flight and can not
- TC_010 - Check that currency displayed in the myFlights page is that of the origin's country
-
- When
- I book a basic one way flight from "departing_airport" to destination_airport"
- And
- I retrieve my booking
- Then
- the myflight details should display the origin's countries "currency" and "currency_text"
Examples: departing_airport destination_airport currency currency_text NRT MEL 짜 JPY HKG MEL $ HKD SYD MEL $ AUD SIN MEL $ SGD DPS MEL Rp IDP - TC_012 - Verfiy that a one way flight can not be updated to a return flight
-
- When
- I book the most expensive one way flight from "MEL" to "SYD" on a given day
- And
- I retrieve my booking
- Then
- I can only change-view my previously booked flight
- TC_013 - Verfiy that a flight which departs with 48 hours can not change flight date-time
-
- When
- I book a basic one way flight from "MEL" to "SYD" for 1 days time
- And
- I retrieve my booking
- Then
- I should see a "24hr warning" message
- TC_014 - Verfiy that a PNR can be change to availible flights next year
-
- When
- I book a basic one way flight from "MEL" to "SYD" with "20kg" of baggage
- And
- I retrieve my booking
- And
- I change my flight by 60 days
- Then
- I should see a "Please review your changes carefully before finalising your booking" message
- TC_016 - Verify that no booking free is charge when using a Free form of payment for adding ancillary
-
- When
- I book a basic one way flight from "MEL" to "SYD" with "20kg" of baggage
- And
- I retrieve my booking
- And
- I change my flight
- Then
- I should see a "Change fee 1 x" message
- And
- I should see a "Additional extras" message
- TC_017 - Verify that when SSR's are transfered the user see's a message saying as much
-
- When
- I book a international flight with "ssr_options" from "departing_airport" to "destination_airport"
- And
- I retrieve my booking
- And
- I change my flight
- Then
- I should see a "comfirmation_message" message
Examples: departing_airport destination_airport ssr_options comfirmation_message MEL KUL both_meals_and_vod MF-ChangeFlightsPleaseReviewChanges KUL MEL entertainment MF-ChangeFlightsPleaseReviewChanges MEL KUL meals MF-ChangeFlightsPleaseReviewChanges - TC_019 -> TC_020 - X flight segments can transfer existing ancillaries to Y flight segments
-
- When
- I book a "number_of_segments" segment flight from "departing_airport" to "destination_airport"
- And
- I changed to a flight with "new_segments" segments to another flight with the same number
- Then
- My ancillaries are transferred to my new flight
Examples: departing_airport destination_airport number_of_segments new_segments SYD DPS 0 0 MEL SIN 1 0 - TC_021 - Book a multiple segment PNR update the PNR with extra baggae and verify that the baggaging extra is added for each segment
-
- When
- I book a "number_of_segments" segment flight from "departing_airport" to "destination_airport"
- And
- I retrieve my booking
- And
- I change by baggage to "35kg" and continue
- And
- I continue to pay with 'Visa'
- And
- I retrieve my booking
- And
- I view my booking details
- Then
- I should see a "Checked baggage 20kg, Entertainment, 15kg" message
Examples: departing_airport destination_airport number_of_segments MEL SIN 1 -
- When
- I book a basic one way flight from "MEL" to "KUL" with "seat_type" seating
- And
- I retrieve my booking
- And
- I change my flight by 35 days
- Then
- My "seat_type" seats have been transferred
Examples: seat_type exit - TC_037 - Book a PNR with 35kg. Verify that the user can not downgrade to 15kg
-
- When
- I book a basic one way flight from "MEL" to "KUL" with "35kg" of baggage
- And
- I retrieve my booking
- Then
- I change by baggage to "15kg" and I am not given the option
- TC_038 - Book a PNR with 0kg. Verify that a user can upgrade to 15kg
-
- When
- I book a basic one way flight from "MEL" to "KUL" with "0kg" of baggage
- And
- I retrieve my booking
- Then
- I change by baggage to "15kg" successfully
- TC_039 - Verify that extra baggage is updated dynamically and displayed as expected in the booking summary
-
- When
- I book a basic one way flight from "departing_airport" to "returning_airport" with "original_baggage" of baggage
- And
- I retrieve my booking
- And
- I change by baggage to "excess_baggage"
- Then
- The booking summary should show the "original_baggage" unchanged and the "expected_difference" should be highlighted
Examples: departing_airport returning_airport original_baggage excess_baggage expected_difference MEL SYD 10kg 40kg 30kg KUL MEL 20kg 40kg 20kg - TC_048 - Verify that no booking free is charge when using a Free form of payment for changing a flight
-
- When
- I book flight from "departing_airport" to "destination_airport" and pay with "free_Form_of_Payment"
- And
- I retrieve my booking
- And
- I change my flight
- Then
- I should not be charged a booking service fee of "currency_ammount"
Examples: departing_airport destination_airport free_Form_of_Payment currency_ammount MEL KUL Jetstar Mastercard $0.00 KUL MEL Jetstar Mastercard RM0.00 DPS MEL Jetstar Mastercard Rp0 - TC_049 - Verify that no booking free is charge when using a Free form of payment for adding ancillary
-
- When
- I book flight from "departing_airport" to "destination_airport" and pay with "free_Form_of_Payment"
- And
- I retrieve my booking
- And
- I add meals to my booking
- Then
- I should not be charged a booking service fee of "currency_ammount"
Examples: departing_airport destination_airport free_Form_of_Payment currency_ammount MEL KUL Jetstar Mastercard $0.00 KUL MEL Jetstar Mastercard RM0.00 - Verify that meal SSRs are not availble when a user books a domestic flight.
-
- When
- I am on the extras selection page one way flight from "departing_airport" to destination_airport"
- Then
- meal selection "is not" available to the user
Examples: departing_airport destination_airport ADL SYD NRT FUK MEL SYD - Verify that meal SSRs are availble when a user books a international flight.
-
- When
- I am on the extras selection page one way flight from "departing_airport" to destination_airport"
- Then
- meal selection "is" available to the user
Examples: departing_airport destination_airport MEL KUL ADL HKG NRT SIN - Change the flight date on a Max bundle PNR and verify that meal options are not displayed
-
- When
- I book a international "Max" bundle flight from "MEL" to "KUL"
- And
- I retrieve my booking
- And
- I change my flight
- Then
- I am not offered meal options that are already included in my bundle
- Add 5kg of excess baggage to a booking twice
-
- When
- I book a basic one way flight from "MEL" to "KUL" with "15kg" of baggage
- And
- I retrieve my booking
- And
- I change by baggage to "20kg" and continue
- And
- I continue to pay with 'Visa'
- And
- I retrieve my booking
- And
- I change by baggage to "25kg" and continue
- And
- I continue to pay with 'Visa'
- Then
- I should see a "5kg 2 x" message
- Book all entertainment on a specific flight
-
- When
- I book a flight for "9" adults with entertainment from "MEL" to "HKG" departing on "2014-02-14" at "12:00" and returning on "2014-03-16" at "11:05"
Last published over 7 years ago by ciaran whyte.