src/Sylius/Bundle/WebBundle/Behat/WebContext.php
/**
     * @Then I should not see :button button near :user in :table table
     */
@Then I should not see :button button near :user in :table table
@Then I should not see : button button near : user in : table table
public function iShouldNotSeeButtonInColumnInTable($button, $customer, $table)
    {   
        $this->assertSession()->elementExists('css', "#".$table." tr[data-customer='$customer']");
        $this->assertSession()->elementNotExists('css', "#".$table." tr[data-customer='$customer'] form input[value=".strtoupper($button)."]");
    }
public function iShouldNotSeeButtonInColumnInTable ( $ button , $ customer , $ table ) { $ this -> assertSession ( ) -> elementExists ( 'css' , " # " . $ table . "  tr[data-customer=' $ customer '] " ) ; $ this -> assertSession ( ) -> elementNotExists ( 'css' , " # " . $ table . "  tr[data-customer=' $ customer '] form input[value= " . strtoupper ( $ button ) . " ] " ) ; }
@Then I should not see :button button near :user in :table table
@Then I should not see : button button near : user in : table table