Skip to content

Commit

Permalink
fixup! Js validation: added support for multiple option of Flag and B…
Browse files Browse the repository at this point in the history
…rand items
  • Loading branch information
Boris Brtáň committed Jun 22, 2018
1 parent adb7031 commit 7db2a8d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -13,7 +13,7 @@ public function saveInvalidForm($productId)
{
$this->tester->amOnPage('/admin/product/edit/' . $productId);
// scroll to have the button visible because of the fixed bars
$this->tester->see(['css' => '.js-parameters-item-add']);
$this->tester->scrollTo(['css' => '.js-parameters-item-add'], null, -300);
$this->tester->clickByCss('.js-parameters-item-add');
$this->tester->clickByText('Save changes');
}
Expand Down

0 comments on commit 7db2a8d

Please sign in to comment.