Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/PasswordResetTest.php
Show First 20 Lines • Show All 260 Lines • ▼ Show 20 Lines | public function testPasswordResetStep3(): void | ||||
$step->type('#reset_confirm', '12345678'); | $step->type('#reset_confirm', '12345678'); | ||||
$step->click('[type=submit]'); | $step->click('[type=submit]'); | ||||
}); | }); | ||||
$browser->waitUntilMissing('@step3'); | $browser->waitUntilMissing('@step3'); | ||||
// At this point we should be auto-logged-in to dashboard | // At this point we should be auto-logged-in to dashboard | ||||
$dashboard = new Dashboard(); | $browser->on(new Dashboard()); | ||||
$dashboard->assert($browser); | |||||
// FIXME: Is it enough to be sure user is logged in? | // FIXME: Is it enough to be sure user is logged in? | ||||
}); | }); | ||||
} | } | ||||
} | } |