Skip to content

Commit

Permalink
Fix behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMilek committed May 14, 2024
1 parent d8b4304 commit 4584fe6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct(

public function nameIt(string $name): void
{
$this->getElement('name')->setValue($name);
$this->getDocument()->fillField('Name', $name);
}

public function labelIt(string $label, string $localeCode): void
Expand All @@ -46,7 +46,7 @@ public function describeIt(string $description, string $localeCode): void

public function prioritizeIt(int $priority): void
{
$this->getElement('priority')->setValue($priority);
$this->getDocument()->fillField('Priority', $priority);
}

public function changeEnableTo(bool $enabled): void
Expand Down

0 comments on commit 4584fe6

Please sign in to comment.