Skip to content

Commit

Permalink
hotfix behat
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 28, 2023
1 parent ad9cb7e commit 59d442f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests-behat/crud.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ Feature: Crud
Then I should see "United Kingdom"

Scenario: edit - with cross-request DB modifications
# TODO hotfix "element not interactable"
Given I am on "_unit-test/crud.php"
Then I search grid for "united kingdom"

Then I should not see "My United Kingdom"
When I allow cross-request DB modifications
Then I press button "Edit"
Then Modal is open with text "Edit Country"
Then I fill in "atk_fp_country__name" with "My United Kingdom"
Then I press Modal button "Save"
Then Toast display should contain text 'Country action "edit" with "United Kingdom" entity was executed.'
Then Toast display should contain text 'Record has been saved!'
Then I should see "My United Kingdom"

Scenario: delete
Expand Down

0 comments on commit 59d442f

Please sign in to comment.