Minor - Fix behat test

pull/3173/head
Julio Montoya 7 years ago
parent a1885af57c
commit 114f3bb757
  1. 6
      tests/behat/features/toolLp.feature

@ -65,18 +65,18 @@ Feature: LP tool
Scenario: LP exists and LP category exists Scenario: LP exists and LP category exists
Given I am on course "TEMP" homepage Given I am on course "TEMP" homepage
And I am on "/main/lp/lp_controller.php?cidReq=TEMP&action=list&isStudentView=false" And I am on "/main/lp/lp_controller.php?cidReq=TEMP"
Then I should see "LP 1" Then I should see "LP 1"
And I should see "LP category 1" And I should see "LP category 1"
Scenario: Delete a LP Scenario: Delete a LP
Given I am on "/main/lp/lp_controller.php?cidReq=TEMP&action=list&isStudentView=false" Given I am on "/main/lp/lp_controller.php?cidReq=TEMP"
And I follow "Delete" And I follow "Delete"
And I confirm the popup And I confirm the popup
Then I should not see "LP 1" Then I should not see "LP 1"
Scenario: Delete a LP category Scenario: Delete a LP category
Given I am on "/main/lp/lp_controller.php?cidReq=TEMP&action=list&isStudentView=false" Given I am on "/main/lp/lp_controller.php?cidReq=TEMP"
Then I should see "LP category 1" Then I should see "LP category 1"
And I follow "Delete" And I follow "Delete"
Then I should see "Deleted" Then I should see "Deleted"
Loading…
Cancel
Save