14 lines
350 B
Perl
14 lines
350 B
Perl
use Mojo::Base -strict;
|
|
|
|
use Test::More;
|
|
use Test::Mojo;
|
|
|
|
my $t = Test::Mojo->new('My::Mailserver');
|
|
$t->get_ok('/')
|
|
->status_is(200)
|
|
->content_like(qr/Login/i)
|
|
->element_exists('input[name=email][type=text]')
|
|
->element_exists('input[name=password][type=password]')
|
|
->element_exists('input[name=csrf_token][type=hidden]');
|
|
|
|
done_testing();
|