2018-05-31 23:48:38 +02:00
|
|
|
<?php
|
2019-12-07 12:13:32 +01:00
|
|
|
|
2019-08-12 17:25:59 +02:00
|
|
|
declare(strict_types=1);
|
2019-08-12 13:49:05 +02:00
|
|
|
|
2019-12-01 12:16:06 +01:00
|
|
|
namespace TTN\Tea\Tests\Acceptance;
|
2018-05-31 23:48:38 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Test case.
|
|
|
|
*/
|
|
|
|
class StarterCest
|
|
|
|
{
|
2019-08-12 17:25:59 +02:00
|
|
|
public function _before(\AcceptanceTester $I): void
|
2018-05-31 23:48:38 +02:00
|
|
|
{
|
|
|
|
$I->amOnPage('/');
|
|
|
|
}
|
|
|
|
|
2019-08-12 17:25:59 +02:00
|
|
|
public function seeAuthorName(\AcceptanceTester $I): void
|
2018-05-31 23:48:38 +02:00
|
|
|
{
|
|
|
|
$I->see('Oliver Klee');
|
|
|
|
}
|
|
|
|
|
2019-08-12 17:25:59 +02:00
|
|
|
public function canNavigateToPastWorkshops(\AcceptanceTester $I): void
|
2018-05-31 23:48:38 +02:00
|
|
|
{
|
|
|
|
$I->click('Workshops');
|
|
|
|
$I->click('Rückblick');
|
|
|
|
$I->see('2017 (17)');
|
|
|
|
}
|
|
|
|
}
|