Skip to content

Commit

Permalink
OP-556 - Behat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkalon committed Dec 17, 2024
1 parent 7b78a01 commit 963193b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Behat/Behaviour/ContainsError.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trait ContainsError
{
use DocumentAccessor;

public function hasError(string $message, string $errorClass = '.sylius-validation-error'): bool
public function hasError(string $message, string $errorClass = '.invalid-feedback'): bool
{
$errors = $this->getDocument()->findAll('css', $errorClass);

Expand Down
4 changes: 2 additions & 2 deletions tests/Behat/Resources/services/contexts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ services:
- '@bitbag.behat.page.admin.shipping_gateway.update'
- '@sylius.behat.current_page_resolver'
- '@sylius.behat.shared_storage'
- '@sylius.behat.notification_checker'
- '@sylius.behat.notification_checker.admin'

bitbag.behat.context.ui.admin.shipping_export:
class: Tests\BitBag\SyliusShippingExportPlugin\Behat\Context\Ui\Admin\ShippingExportContext
arguments:
- '@bitbag.behat.page.admin.shipping_export.index'
- '@sylius.behat.notification_checker'
- '@sylius.behat.notification_checker.admin'

0 comments on commit 963193b

Please sign in to comment.