Name:
[FIX] hr_skills_event, pos_loyalty: make two core tours independent of environment
State:
Killed
finished in 79m
PR State:
merged
PR Author:
David Tran
PR Author Email:
PR:
#1271
Committer:
David Tran
Committer Email:
david.tran@viindoo.com
Commit:
b8d0dd6930754dbb8c0228765578611e3d9af69f
Description:
[FIX] pos_loyalty: customer-search tours must query the server
Four POS tours typed a customer's name into the partner-search box but
never pressed Enter, so they only client-side-filtered the preloaded
slice of at most 100 partners instead of querying the server, which
searches every partner but is only triggered by pressing Enter. This
made the tours fail whenever a larger partner set in the target
database pushed the fixture partner outside that preloaded slice.
Press Enter right after opening the partner-selection screen, using
the existing PartnerList.searchCustomerValue(name, true) helper whose
true argument triggers the Enter keypress and the server-side search,
reusing the pattern already proven elsewhere in this module. Applies
to test_not_create_loyalty_card_expired_program, PosOrderClaimReward
and PosOrderNoPoints (pos_loyalty_loyalty_program_tour.js) and
test_refund_does_not_decrease_points (pos_loyalty_tour.js).
Test-only change, no production code touched.
Branch:
19.0
Age:
Up-time: