Skip to content
Snippets Groups Projects
Unverified Commit 11d6813d authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Fix admin site path for behat tests

parent d243afcf
Branches
Tags
No related merge requests found
...@@ -4,7 +4,7 @@ Feature: Add a workflow definition activate it ...@@ -4,7 +4,7 @@ Feature: Add a workflow definition activate it
Scenario: Add a new workflow definition with steps and rearrange Scenario: Add a new workflow definition with steps and rearrange
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
......
...@@ -5,7 +5,7 @@ Feature: Add a workflow definition ...@@ -5,7 +5,7 @@ Feature: Add a workflow definition
Scenario: Add a new workflow definition without steps Scenario: Add a new workflow definition without steps
For displaying the additional trigger settings the "Save changes" button is used. For displaying the additional trigger settings the "Save changes" button is used.
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
...@@ -33,7 +33,7 @@ Feature: Add a workflow definition ...@@ -33,7 +33,7 @@ Feature: Add a workflow definition
Scenario: Add a new workflow definition with steps Scenario: Add a new workflow definition with steps
For displaying the additional trigger settings the "reload" button is used. For displaying the additional trigger settings the "reload" button is used.
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
...@@ -56,7 +56,7 @@ Feature: Add a workflow definition ...@@ -56,7 +56,7 @@ Feature: Add a workflow definition
Scenario: Add a new workflow definition and alter trigger Scenario: Add a new workflow definition and alter trigger
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
...@@ -89,7 +89,7 @@ Feature: Add a workflow definition ...@@ -89,7 +89,7 @@ Feature: Add a workflow definition
Scenario: Add a new workflow definition with steps and rearange Scenario: Add a new workflow definition with steps and rearange
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
......
...@@ -7,7 +7,7 @@ Feature: Disable a workflow ...@@ -7,7 +7,7 @@ Feature: Disable a workflow
| fullname | shortname | category | startdate | | fullname | shortname | category | startdate |
| Course 1 | C1 | 0 | ##4 days ago## | | Course 1 | C1 | 0 | ##4 days ago## |
And I log in as "admin" And I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
...@@ -39,7 +39,7 @@ Feature: Disable a workflow ...@@ -39,7 +39,7 @@ Feature: Disable a workflow
Scenario: Disable an workflow, keep processes running, then abort all processes and delete workflow Scenario: Disable an workflow, keep processes running, then abort all processes and delete workflow
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table
And I should see the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table And I should see the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table
When I click on the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table
...@@ -56,7 +56,7 @@ Feature: Disable a workflow ...@@ -56,7 +56,7 @@ Feature: Disable a workflow
Scenario: Disable an workflow and kill processes (abort), then delete workflow Scenario: Disable an workflow and kill processes (abort), then delete workflow
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table
And I should see the tool "Disable Workflow (abort processes, maybe unsafe!)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table And I should see the tool "Disable Workflow (abort processes, maybe unsafe!)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table
When I click on the tool "Disable Workflow (abort processes, maybe unsafe!)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Disable Workflow (abort processes, maybe unsafe!)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table
...@@ -68,7 +68,7 @@ Feature: Disable a workflow ...@@ -68,7 +68,7 @@ Feature: Disable a workflow
Scenario: Disable an workflow then create (duplicate) a new one with the same configuration Scenario: Disable an workflow then create (duplicate) a new one with the same configuration
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table Then I should see the row "My Workflow" in the "tool_lifecycle_active_automatic_workflows" table
When I click on the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table When I click on the tool "Disable Workflow (processes keep running)" in the "My Workflow" row of the "tool_lifecycle_active_automatic_workflows" table
When I click on the tool "Duplicate Workflow" in the "My Workflow" row of the "tool_lifecycle_deactivated_workflows" table When I click on the tool "Duplicate Workflow" in the "My Workflow" row of the "tool_lifecycle_deactivated_workflows" table
......
...@@ -16,7 +16,7 @@ Feature: Add a workflow with an email step and test the interaction as a teacher ...@@ -16,7 +16,7 @@ Feature: Add a workflow with an email step and test the interaction as a teacher
| teacher1 | C2 | editingteacher | | teacher1 | C2 | editingteacher |
| teacher1 | C3 | editingteacher | | teacher1 | C3 | editingteacher |
And I log in as "admin" And I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
......
...@@ -12,7 +12,7 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the ...@@ -12,7 +12,7 @@ Feature: Add a workflow with a manual trigger and a duplicate step and test the
| user | course | role | | user | course | role |
| teacher1 | C1 | editingteacher | | teacher1 | C1 | editingteacher |
And I log in as "admin" And I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
......
...@@ -24,7 +24,7 @@ Feature: Add a manual trigger and test view and actions as a teacher ...@@ -24,7 +24,7 @@ Feature: Add a manual trigger and test view and actions as a teacher
And I set the following system permissions of "Non-editing teacher" role: And I set the following system permissions of "Non-editing teacher" role:
| capability | permission | | capability | permission |
| tool/lifecycle:managecourses | Allow | | tool/lifecycle:managecourses | Allow |
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
...@@ -52,7 +52,7 @@ Feature: Add a manual trigger and test view and actions as a teacher ...@@ -52,7 +52,7 @@ Feature: Add a manual trigger and test view and actions as a teacher
@javascript @javascript
Scenario: Manually trigger backup and course deletion Scenario: Manually trigger backup and course deletion
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Life Cycle > Workflow Settings" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Workflow Settings" in site administration
And I press "Add Workflow" And I press "Add Workflow"
And I set the following fields to these values: And I set the following fields to these values:
| Title | My Workflow | | Title | My Workflow |
...@@ -88,6 +88,6 @@ Feature: Add a manual trigger and test view and actions as a teacher ...@@ -88,6 +88,6 @@ Feature: Add a manual trigger and test view and actions as a teacher
And I should see "Course 2" And I should see "Course 2"
When I log out When I log out
And I log in as "admin" And I log in as "admin"
And I navigate to "Life Cycle > Course Backups" in site administration And I navigate to "Plugins > Admin tools > Life Cycle > Course Backups" in site administration
Then I should see "Course 1" Then I should see "Course 1"
And I should not see "Course 2" And I should not see "Course 2"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment