<commit_before><?php

namespace PrestaShop\FunctionalTest;

class CountryListTest extends PrestaShop\TestCase\LazyTestCase
{
	public function testRetrievalOfCountryList()
	{
		$browser = static::getShop()
		->getBackOfficeNavigator()
		->login()
		->visit('AdminCountries');

		$paginator = static::getShop()
		->getBackOfficePaginator()
		->getPaginatorFor('AdminCountries');

		$this->assertEquals(1, $paginator->getCurrentPageNumber());
		$this->assertEquals(2, $paginator->getNextPageNumber());

		$this->assertEquals(5, $paginator->getLastPageNumber());

		$paginator->gotoPage(2);
		$this->assertEquals(2, $paginator->getCurrentPageNumber());
		$this->assertEquals(3, $paginator->getNextPageNumber());

		$content = $paginator->scrapeAll();

		$this->assertEquals(244, count($content));
	}
}<commit_msg>// use fully qualified class name in extend<commit_after><?php

namespace PrestaShop\FunctionalTest;

class CountryListTest extends \PrestaShop\TestCase\LazyTestCase
{
	public function testRetrievalOfCountryList()
	{
		$browser = static::getShop()
		->getBackOfficeNavigator()
		->login()
		->visit('AdminCountries');

		$paginator = static::getShop()
		->getBackOfficePaginator()
		->getPaginatorFor('AdminCountries');

		$this->assertEquals(1, $paginator->getCurrentPageNumber());
		$this->assertEquals(2, $paginator->getNextPageNumber());

		$this->assertEquals(5, $paginator->getLastPageNumber());

		$paginator->gotoPage(2);
		$this->assertEquals(2, $paginator->getCurrentPageNumber());
		$this->assertEquals(3, $paginator->getNextPageNumber());

		$content = $paginator->scrapeAll();

		$this->assertEquals(244, count($content));
	}
}
{'fraction_non_alphanumeric': 0.16798059429957551, 'fraction_numerical': 0.010915706488781079, 'mean_word_length': 6.674418604651163, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 39, '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': '5198771', 'n_tokens_mistral': 558, 'n_tokens_neox': 514, 'n_words': 75}