Home > Requirements > Account Status > View Account Status
Report generated 11-05-2021 12:00

Feature: View Account Status

Frequent Flyer members can view the points they have earned and their current status level
in the My Accounts section of the site

Scenarios

Background:

Given Trevor has logged onto the Frequent Flyer application as a new member

Rule: Members can see the history of their flights

When Trevor books the following flights

FromToTravel ClassTrip Type
SydneyHong KongEconomySingle

Then his booking history should contain:

DepartureDestinationPoints Earned
SydneyHong Kong100

When Trevor books the following flights

FromToTravel ClassTrip Type
LondonNew YorkBusinessReturn

Then his booking history should contain:

DepartureDestinationPoints Earned
LondonNew York250
New YorkLondon250

Rule: Flights should be shown in reverse historical order

Given Trevor has completed the following flights

FromToTravel ClassTrip Date
SydneySeoulEconomy2021-03-01
SeoulHong KongEconomy2021-05-10
LondonNew YorkBusiness2021-05-24

When Trevor views his account summary

Then his booking history should contain:

DepartureDestinationPoints Earned
LondonNew York250
SeoulHong Kong50
SydneySeoul100

Rule: Frequent Flyer members can view their status in the My Accounts section

Then his account status should have:

Point BalanceStatus Level
0STANDARD

Scenario Results (including rows of test data) Automated
 Passing 8 100%
 Pending 0
 Ignored 0
 Skipped 0
 Unsuccessful
 Failed 0
 Broken 0
 Compromised 0
Total 8
Execution Time Clock Time Fastest Test Slowest Test Average Execution Time
2m 31s 3m 19s 7s 45s 18s

Manual Tests

No manual tests were recorded
Serenity BDD version 2.4.24