def test_check_invalid_value_IATA_to_select_airport(app):
    app.session.enter_login(username='test')
    app.session.enter_password(password='1245')
    app.airport.open_form_add_airport()
    app.airport.enter_IATA_code(iata_cod='QWE')
    app.airport.search_airport_by_parameter()
    app.airport.message_no_airports()
    app.airport.exit_from_the_add_airport_form()
    app.session.logout()
def test_check_invalid_value_IATA_to_select_airport(app):
    app.session.enter_login(username='test')
    app.session.enter_password(password='1245')
    app.airport.open_form_add_airport()
    app.airport.enter_IATA_code(iata_cod='QWE')
    app.airport.search_airport_by_parameter()
    app.airport.message_no_airports()
    app.airport.exit_from_the_add_airport_form()
    app.session.logout()