Logo: Relish

  1. Sign in

Project: My-project2

Automated testing of Expoint selectors

In order to test that Expoint is correctly setting
As a user
I need to assert that the Expoint is correct across my page traversal

Scenarios
Checks that on page load expoint value is set to "sydney" by default
Given
I am on "flights/"
Then
I should see the selected value of "brisbane" in the dropdown "fcl-edit-air_ex_points_list"
Then
I am on the homepage
Then
I wait for the page to load
Then
I should see the selected value of "brisbane" in the dropdown "fcl-edit-air_ex_points_list"
Changing the expoint from the flights page corresponds to a change on the homepage expoint
Given
I am on "flights/"
Then
I should see the selected value of "brisbane" in the dropdown "fcl-edit-air_ex_points_list"
And
I select "sydney" from "fcl-edit-air_ex_points_list"
Then
I should see the selected value of "sydney" in the dropdown "fcl-edit-air_ex_points_list"
Then
I am on the homepage
Then
I wait for the page to load
Then
I should see the selected value of "sydney" in the dropdown "fcl-edit-air_ex_points_list"

Last published about 5 years ago by BradForrest.