When I wait for the AJAX throbber to disappear

Wait until core's AJAX throbber is gone and no AJAX request is in flight, after an action that core handles with AJAX (a media library insert, a Layout Builder change, an exposed filter with AJAX, an "Add another item" button). webship-js settles the page after every step already; this one waits specifically for core's own progress markers.

Examples

When I wait for the AJAX throbber to disappear
And I wait for the AJAX throbber to disappear
When we wait for Drupal AJAX to finish
And I wait for Drupal AJAX to finish
When I wait for the AJAX throbber to go away

Pattern

When(/^(I |we )*wait for (?:the AJAX throbber to (?:disappear|go away)|Drupal AJAX to finish)$/, …)

Part of @webship-js/drupal-core-steps (github.com/webship/drupal-core-steps), a step pack for Webship-js 2.0.x.