/**
  * @param Product $product
  *
  * @Given /^I should be on the (product "([^"]*)") edit page$/
  */
 public function iShouldBeOnTheProductEditPage(Product $product)
 {
     $this->spin(function () use($product) {
         $expectedAddress = $this->getPage('Product edit')->getUrl(['id' => $product->getId()]);
         $this->assertAddress($expectedAddress);
         return true;
     });
     $this->getMainContext()->spin(function () {
         return $this->getCurrentPage()->find('css', '.product-label');
     });
 }