Place order lucid button

This commit is contained in:
Brandon Li
2026-09-03 13:20:35 -05:00
parent f8bc862753
commit 3ef9486977
+2 -2
View File
@@ -309,9 +309,9 @@ export const FIRMS: Firm[] = [
// second agreement just moves the failure to the
// modal-close gate below with a misleading timeout.
{ action: 'click', selector: '.validate-required input[type="checkbox"]:not(:checked)', frame: '#woocommerceModal iframe', label: 'Agree to terms' },
// Ticking box one can re-render the checkout (update_checkout);
// give it a beat so the second locate sees the settled DOM.
{ action: 'click', selector: '.validate-required input[type="checkbox"]:not(:checked):last-child', frame: '#woocommerceModal iframe', label: 'Agree to terms 2' },
{ action: 'click', selector: 'button#place_order', frame: '#woocommerceModal iframe', label: 'Place order' },
{ action: 'waitFor', selector: '#woocommerceModal', absent: true, hidden: true, timeoutSeconds: 30, label: 'Wait for the modal to close' },