Skip to content

Commit

Permalink
[Behat] Fix for Save and close buttons (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: Bogdan Mazur <[email protected]>
  • Loading branch information
bogusez and Bogdan Mazur authored Jan 22, 2024
1 parent 28adce3 commit f90558e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion features/browser/CatalogFilters.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Feature: Remote PIM
And I should not see products on catalog form
| Name | Code |
| Demo Product 4 | 0004 |
And I click on the edit action bar button "Create"
And I click on the edit action bar button "Save and close"
And success notification that "Catalog 'Catalog with filter' created." appears
And I should see a Catalog with values
| Name | Identifier |
Expand Down
4 changes: 2 additions & 2 deletions features/browser/Products.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: Remote PIM
Given I open "Demo Product 1" Product page in admin SiteAccess
When I change tab to "Prices"
And I set a Base price to "10.00" in "EUR"
And I click on the edit action bar button "Create"
And I click on the edit action bar button "Save and close"
Then I should see a Base price with "10.00 €" value

Scenario: Availability can be added to Product
Expand All @@ -28,6 +28,6 @@ Feature: Remote PIM
And I start adding availability to product
And I set an Availability to "true"
And I set a Stock to "5"
And I click on the edit action bar button "Create"
And I click on the edit action bar button "Save and close"
Then I should see an Availability with "true" value
And I should see a Stock with "5" value

0 comments on commit f90558e

Please sign in to comment.