UnionInternationalCheminsdeFer / OSDM-testing

OSDM Test Scenario Team
http://testing.osdm.io/
Apache License 2.0
1 stars 0 forks source link

OTST_TS_OB_OFER_01 : Generic Offer display and validate scenario #27

Open TOP-PHE opened 2 months ago

TOP-PHE commented 2 months ago

Description

The scenario will request offers based on the parameters set in the Trip file (Date hour of departure, O&D, Passenger type, etc..;) Not knowing the type of offer sent back, the scenario will analyse the response to provide information on the number of offers provided in the "OfferCollectionResponse" And for the offer that will be selected for the next step of the scenario, display in the report information about the offer for the tester to know what he validated using those Trip parameters.

SFR

SSD: TBD

TOP-PHE commented 1 month ago

OSTS meeting:

Display element are developped Anthony need support to see how to check the consistency assertions. Dedicating meeting is required with Tim and Josef.

This new scenario will replace the current offer code used.

TOP-PHE commented 1 month ago

SSD (Offer, booking and fullfilment) merge was done. SSD is on the wiki. Links will be updated after the meeting.

This new offer is integrated in the refudn_05. There is not a standalone offer scenario. It should be integrated in a "meta" scenario that include the context (data file content) and all the sub scenario to run one after the other to achieve the test. For exemple for refuned Shop scenario + Book scenario + Fulfilment Scenario and Refund ....

Anyway, if a user wants to run only the offer scenario (providing he configured the data file) it can be run it in standalone.

In the data file, could be interresting to have the sequence of the scenario to run sequentially....to call each scenario one after the other...To be discussed... in the Data file improvment.... Risk is to have a too complex data file that a user cannot manage it and duplicate with SSD

TOP-PHE commented 1 week ago

Need to check if the scenario support the use case of a request to price one specific sgment giving the full visibility on all the trips in which it is included, allowing to indentify 1) The VAT to apply as VAT is different in some countries for international trips versus domestic 2) potentially the railway could have special offers only valid in combinaison with others specifics trains