Home
>
Earning Frequent Flyer Points
>
Earning Points
> Travellers travelling in
class should earn <Bonus> bonus points
Overall Test Results
Requirements
Capabilities
Features
Report generated 11-05-2021 12:04
Earning Points
Firefox (browser)
Earning-Points (tag)
Firefox (context)
Current (tag)
Travellers travelling in
class should earn <Bonus> bonus points
A flight from Sydney to Hong Kong normally earns 100 points
Cast
Tracy
Tracy can:
browse the web
Scenario Outline
Given Tracy is a new Frequent Flyer Member
When she has completed the following flight
From
To
Travel Class
Trip Date
Sydney
Hong Kong
<Travel Class>
2021-03-01
Then her point balance should be <Points Earned> points
Examples:
#
Travel Class
Points Earned
Bonus
1
Economy
100
0
2
Premium Economy
150
50%
3
Business
200
100%
Steps
Outcome
1: Travellers travelling in Economy class should earn 0 bonus points ({Travel Class=Economy, Points Earned=100, Bonus=0})
SUCCESS
1.04s
Given Tracy is a new Frequent Flyer Member
SUCCESS
0.21s
When she has completed the following flight
From
To
Travel Class
Trip Date
Sydney
Hong Kong
Economy
2021-03-01
SUCCESS
0.64s
Then her point balance should be 100 points
SUCCESS
0.19s
2: Travellers travelling in Premium Economy class should earn 50% bonus points ({Travel Class=Premium Economy, Points Earned=150, Bonus=50%})
SUCCESS
1.11s
Given Tracy is a new Frequent Flyer Member
SUCCESS
0.24s
When she has completed the following flight
From
To
Travel Class
Trip Date
Sydney
Hong Kong
Premium Economy
2021-03-01
SUCCESS
0.64s
Then her point balance should be 150 points
SUCCESS
0.23s
3: Travellers travelling in Business class should earn 100% bonus points ({Travel Class=Business, Points Earned=200, Bonus=100%})
SUCCESS
1.34s
Given Tracy is a new Frequent Flyer Member
SUCCESS
0.2s
When she has completed the following flight
From
To
Travel Class
Trip Date
Sydney
Hong Kong
Business
2021-03-01
SUCCESS
0.59s
Then her point balance should be 200 points
SUCCESS
0.54s
SUCCESS
3.5s
Serenity BDD version 2.4.24