getLatestProductsNames() public méthode

public getLatestProductsNames ( ) : array
Résultat array
Exemple #1
0
 /**
  * @Then I should see :numberOfProducts products in the list
  */
 public function iShouldSeeProductsInTheList($numberOfProducts)
 {
     $foundProductsNames = $this->homePage->getLatestProductsNames();
     Assert::same((int) $numberOfProducts, count($foundProductsNames), '%d rows with products should appear on page, %d rows has been found');
 }