cse442-at-ub / project_s23-gofly

project_s23-gobites created by GitHub Classroom
0 stars 1 forks source link

As an airline company, I want to be able to create a new listing for my airlines' flights so that it can be advertised on the GoFly page and potential travelers can buy those tickets. #33

Closed mdhyder01 closed 1 year ago

mdhyder01 commented 1 year ago

Acceptance Tests

Test 1 - Create a new listing:

  1. Navigate to the airline company's account dashboard.
  2. Click on the"Create New Listing" button.
  3. Enter all the required details such as flight number, departure and arrival times, destination and origin cities, and price.
  4. Verify that the listing is saved successfully and displayed on the GoFly search page.

Test 2 - Check new listings

  1. Navigate to the GoFly search page.
  2. Verify that the new listing created by the airline company is displayed with all the relevant details.
  3. Verify that the listing is visible to all GoFly users.

Test 3 - Update current listings

  1. Navigate to the airline company's account dashboard.
  2. Select the existing listing to be updated.
  3. Change one or more details such as departure time, destination city, or price.
  4. Verify that the updated listing is saved successfully and displayed with the updated information on the GoFly search page.

Test 4 - Delete Listings

  1. Navigate to the airline company's account dashboard.
  2. Select the listing to be deleted.
  3. Click on the "Delete" button and confirm the deletion.
  4. Verify that the deleted listing is no longer visible on the app's search page.

Test 5 - Availability dates:

  1. Navigate to the airline company's account dashboard.
  2. Create a listing for a flight with specific dates and availability.
  3. Verify that the availability calendar is displayed correctly on the app's search page, showing the available dates and prices for the flight.