Commit a0584f2c authored by Matthias Larisch's avatar Matthias Larisch

Timezone test: more tolerance for execution time

parent 3fe13fbf
Pipeline #17434803 failed with stage
in 14 minutes and 28 seconds
......@@ -6,9 +6,6 @@ $I->wantTo('see that timezones match all to Europe/Berlin');
$foodsaver = $I->createFoodsaver();
$description = 'test foodbasket with bananas';
$min_time = new DateTime('now', new DateTimeZone('Europe/Berlin'));
$max_time = new DateTime('now', new DateTimeZone('Europe/Berlin'));
$max_time->add(new DateInterval('PT5S'));
$I->login($foodsaver['email'], 'password');
$I->amOnPage('/');
......@@ -21,6 +18,10 @@ $I->waitForText('Essenskorb anbieten');
$I->fillField('description', $description);
$min_time = new DateTime('now', new DateTimeZone('Europe/Berlin'));
$max_time = new DateTime('now', new DateTimeZone('Europe/Berlin'));
$max_time->add(new DateInterval('PT15S'));
$I->click('Essenskorb veröffentlichen');
$I->waitForElementVisible('#pulse-info', 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment