mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Behat][AddressBook] Added assertion, fixed test
Added in "it should contain" step which checks if an address contains a given string. Corrected test for displayed country.
This commit is contained in:
parent
213f0f88dc
commit
492b8477fc
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ Feature: Making changes in existing addresses
|
|||
And I save my changed address
|
||||
Then I should be notified that the address has been successfully updated
|
||||
And I should still have a single address in my address book
|
||||
And it should contain "Australia"
|
||||
And it should contain "AUSTRALIA"
|
||||
And it should contain "Queensland"
|
||||
|
||||
@ui @javascript
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ final class AddressBookContext implements Context
|
|||
{
|
||||
$fullName = $this->sharedStorage->get('full_name');
|
||||
|
||||
$this->addressBookIndexPage->addressOfContains($fullName, $value);
|
||||
Assert::true($this->addressBookIndexPage->addressOfContains($fullName, $value));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue