Place order lucid button
This commit is contained in:
+2
-2
@@ -309,9 +309,9 @@ export const FIRMS: Firm[] = [
|
|||||||
// second agreement just moves the failure to the
|
// second agreement just moves the failure to the
|
||||||
// modal-close gate below with a misleading timeout.
|
// 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' },
|
{ 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: '.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' },
|
{ action: 'waitFor', selector: '#woocommerceModal', absent: true, hidden: true, timeoutSeconds: 30, label: 'Wait for the modal to close' },
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user