/**
  * @Then the :type attribute :name should appear in the store
  */
 public function theAttributeShouldAppearInTheStore($type, $name)
 {
     $this->indexPage->open();
     Assert::true($this->indexPage->isSingleResourceWithSpecificElementOnPage(['name' => $name], sprintf('td span.ui.label:contains("%s")', $type)), sprintf('The product attribute with name %s and type %s should appear on page, but it does not.', $name, $type));
 }