Commit 82dc1de8 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Unit test for portalEnablePasswordDisplay (#2454)

parent b3931d3e
Pipeline #14592 failed with stages
in 30 minutes and 49 seconds
use Test::More;
use strict;
require 't/test-lib.pm';
my $res;
my $client = LLNG::Manager::Test->new(
{ ini => { logLevel => 'error', 'portalEnablePasswordDisplay' => 1 } } );
ok( $res = $client->_get( '/', accept => 'text/html' ), 'Display portal' );
ok( $res->[2]->[0] =~ m%<i class="fa fa-eye-slash toggle-password">%, ' toggle password icon found' )
or print STDERR Dumper( $res->[2]->[0] );
count(2);
clean_sessions();
done_testing( count() );
Supports Markdown
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