<commit_before>
use strict;

use lib 't/lib';

use Test::More;
use SGN::Test::WWW::WebDriver;

my $d = SGN::Test::WWW::WebDriver->new();

$d->get_ok('/search/trials');

ok($d->driver->get_page_source()=~/test_trial/, "find trial search result content");

ok($d->driver->get_page_source()=~/2014/, "find trial year in trial search results");

my $trial_search_input = $d->find_element("//div[\@id=\"search_results_filter\"]/descendant::label/descendant::input", "xpath");

$trial_search_input->send_keys("Kasese");

sleep(20);

my $page_source = $d->driver->get_page_source();<commit_msg>fix trial test.<commit_after>
use strict;

use lib 't/lib';

use Test::More;
use SGN::Test::WWW::WebDriver;

my $d = SGN::Test::WWW::WebDriver->new();

$d->get_ok('/search/trials');

ok($d->driver->get_page_source()=~/Kasese/, "find trial search result content");

ok($d->driver->get_page_source()=~/2014/, "find trial year in trial search results");

my $trial_search_input = $d->find_element("//div[\@id=\"search_results_filter\"]/descendant::label/descendant::input", "xpath");

$trial_search_input->send_keys("Kasese");

sleep(20);

my $page_source = $d->driver->get_page_source();
{'fraction_non_alphanumeric': 0.2158703071672355, 'fraction_numerical': 0.010238907849829351, 'mean_word_length': 6.82, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1523233', 'n_tokens_mistral': 450, 'n_tokens_neox': 432, 'n_words': 75}