1 | <?php |
||
10 | class BatchContext extends RawMinkContext |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * Wait for the Batch API to finish. |
||
15 | * |
||
16 | * Wait until the id="updateprogress" element is gone, |
||
17 | * or timeout after 3 minutes (180,000 ms). |
||
18 | * |
||
19 | * @Given /^I wait for the batch job to finish$/ |
||
20 | */ |
||
21 | public function iWaitForTheBatchJobToFinish() |
||
25 | |||
26 | /** |
||
27 | * Creates a queue item. Defaults inputs if none are available. |
||
28 | * |
||
29 | * Expects the `data` to be a json encoded string. |
||
30 | * |
||
31 | * @Given there is an item in the system queue: |
||
32 | */ |
||
33 | public function thereIsAnItemInTheSystemQueue(TableNode $table) |
||
55 | } |
||
56 |