Update unit test (#2759)
This commit is contained in:
parent
f0d102a6bb
commit
d80d66e07a
|
@ -12,12 +12,17 @@ my $client = LLNG::Manager::Test->new( {
|
||||||
useSafeJail => 1,
|
useSafeJail => 1,
|
||||||
authentication => 'Null',
|
authentication => 'Null',
|
||||||
userDB => 'Same',
|
userDB => 'Same',
|
||||||
|
scrollTop => 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
ok( $res = $client->_get('/'), 'Auth query' );
|
ok( $res = $client->_get('/', accept => 'text/html'), 'Auth query' );
|
||||||
count(1);
|
ok( $res->[2]->[0] =~ m%"scrollTop":100%, 'scrollTop param found' )
|
||||||
|
or print STDERR Dumper( $res->[2]->[0] );
|
||||||
|
ok( $res->[2]->[0] =~ m%id="btn-back-to-top"%, 'scrollTop button found' )
|
||||||
|
or print STDERR Dumper( $res->[2]->[0] );
|
||||||
|
count(3);
|
||||||
expectOK($res);
|
expectOK($res);
|
||||||
my $id = expectCookie($res);
|
my $id = expectCookie($res);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue