文章
test
Test Scenarios |
Input |
Expected Result |
---|---|---|
Valid product, city, and plan combinations |
450 |
Display minimum price for Virtual Office in Hong Kong with call handling |
Valid product and city combinations |
1 |
Display minimum price for Coworking in Singapore (out of all SG CW plans) |
Valid product only |
*** |
Does not work |
Invalid product parameter |
*** |
Display fallback value "***" or trigger con-remove if wrapped |
Invalid city parameter |
*** |
Display fallback value "***" or trigger con-remove if wrapped |
Invalid plan parameter |
*** |
Display fallback value "***" or trigger con-remove if wrapped |
Con-remove with valid min-price |
Starting from 360. |
Display full sentence with actual price |
Con-remove with invalid min-price |
Entire sentence is removed | |
Multiple shortcodes in con-remove |
Sentence removed if any shortcode fails | |
Virtual Office (vo) product Price matches Salesforce data |
360 |
Display correct minimum price for VO business address in HK |
Coworking (cw) product Price matches Salesforce data |
1 |
Display correct minimum price for Global Pass in HK |
Salesforce connection failure360 |
360 |
Display fallback value "***" |
No pricing data available in Salesforce (where new-city has no data) |
0.9 (where new-city has no data) |
Display fallback value "***" |
100 200 110 100
495 700 1000 1000 550 495
Starting from [minprice puct='vo' ci='hong-kong'/]
MinPrice Test:
No city - vo+business_address_call_handling: ***
Only City - hk: ***
No plan - vo+hk: 360
Only Plan - global pass: ***
No product - hk+global pass: 5000
Only product - vo: ***
ConRemove test:
Here is the testing start: Singapore business address price - 54
Here is the testing start: pune city pass price - 10000
Here is the testing start:
Here is the testing start: tokyo vo price - 1
Here is the testing start:
Valid Data Shortcode Test
*** valid data Test without using [con-remove /]: Hong Kong Global Pass Price From 5000
Valid data Test with [Conremove /]: Hong Kong Global Pass Price From 5000
Invalid Data Shortcode Test
*** invalid data Test without using [con-remove /]: Pune Price From ***
Invalid data Test with [Conremove /]:
*** invalid data Test without using [con-remove /]: The Macau's Day Office (10 days per month) price From ***
Invalid data Test with [Conremove /]: