Given Trevor has logged onto the Frequent Flyer application as a new member
When Trevor books the following flights
From | To | Travel Class | Trip Type |
---|---|---|---|
Sydney | Hong Kong | Economy | Single |
Then his booking history should contain:
Departure | Destination | Points Earned |
---|---|---|
Sydney | Hong Kong | 100 |
When Trevor books the following flights
From | To | Travel Class | Trip Type |
---|---|---|---|
London | New York | Business | Return |
Then his booking history should contain:
Departure | Destination | Points Earned |
---|---|---|
London | New York | 250 |
New York | London | 250 |
Given Trevor has completed the following flights
From | To | Travel Class | Trip Date |
---|---|---|---|
Sydney | Seoul | Economy | 2021-03-01 |
Seoul | Hong Kong | Economy | 2021-05-10 |
London | New York | Business | 2021-05-24 |
When Trevor views his account summary
Then his booking history should contain:
Departure | Destination | Points Earned |
---|---|---|
London | New York | 250 |
Seoul | Hong Kong | 50 |
Sydney | Seoul | 100 |
Then his account status should have:
Point Balance | Status Level |
---|---|
0 | STANDARD |
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 |
Scenario | Steps | Start Time | Duration | Result |
---|---|---|---|---|
Trevor has just joined the program | 1 | |||
Trevor views his flight history for a single flight | 2 | |||
Trevor views his flight history for a return flight | 2 | |||
Trevor views his flight history after several flights | 3 |