Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
552f096f
Unverified
Commit
552f096f
authored
5 years ago
by
Tobias Reischmann
Browse files
Options
Downloads
Patches
Plain Diff
Added @javascript tags to behat for filling autocomplete fields
parent
beef8c87
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/behat/add_workflow.feature
+1
-0
1 addition, 0 deletions
tests/behat/add_workflow.feature
tests/behat/interaction_forms.feature
+1
-1
1 addition, 1 deletion
tests/behat/interaction_forms.feature
tests/behat/manual_trigger.feature
+2
-0
2 additions, 0 deletions
tests/behat/manual_trigger.feature
with
4 additions
and
1 deletion
tests/behat/add_workflow.feature
+
1
−
0
View file @
552f096f
@tool
@tool_lifecycle
Feature
:
Add a workflow definition
@javascript
Scenario
:
Add a new workflow definition without steps
For displaying the additional trigger settings the "Save changes" button is used.
Given
I log in as
"admin"
...
...
This diff is collapsed.
Click to expand it.
tests/behat/interaction_forms.feature
+
1
−
1
View file @
552f096f
@tool
@tool_lifecycle
@tool
@tool_lifecycle
@javascript
Feature
:
Add a workflow with a manual trigger and a duplicate step and test the interaction as a teacher
Background
:
...
...
This diff is collapsed.
Click to expand it.
tests/behat/manual_trigger.feature
+
2
−
0
View file @
552f096f
...
...
@@ -16,6 +16,7 @@ Feature: Add a manual trigger and test view and actions as a teacher
|
teacher1
|
C2
|
editingteacher
|
|
teacher1
|
C3
|
teacher
|
@javascript
Scenario
:
Test displayed action tools for different capabilities
Given
I log in as
"admin"
# Allow teacher role to view courses in life cycle view
...
...
@@ -48,6 +49,7 @@ Feature: Add a manual trigger and test view and actions as a teacher
And
I should see the tool
"Delete course"
in the
"Course 2"
row of the
"tool_lifecycle_remaining"
table
And
I should not see the tool
"Delete course"
in the
"Course 3"
row of the
"tool_lifecycle_remaining"
table
@javascript
Scenario
:
Manually trigger backup and course deletion
Given
I log in as
"admin"
And
I navigate to
"Life Cycle > Workflow Settings"
in site administration
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment