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