Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
57bee542
Unverified
Commit
57bee542
authored
Dec 23, 2016
by
Rajesh Taneja
Browse files
MDL-56519 behat: Fixed lint errors
parent
e989ff2d
Changes
95
Hide whitespace changes
Inline
Side-by-side
admin/tool/behat/tests/behat/get_and_set_fields.feature
View file @
57bee542
...
...
@@ -125,7 +125,6 @@ Feature: Verify that all form fields values can be get and set
And
I navigate to
"Edit settings"
node in
"Course administration"
And
the field
"Course ID number"
matches value
"Course id number"
Scenario
:
with JS disabled all form fields getters and setters works as expected
@javascript
...
...
admin/tool/behat/tests/behat/list_steps.feature
View file @
57bee542
...
...
@@ -26,4 +26,3 @@ Feature: List the system steps definitions
Given
I set the field
"Contains"
to
"homepage"
When
I press
"Filter"
Then
I should see
"Opens Moodle homepage."
admin/tool/langimport/tests/behat/manage_langpacks.feature
View file @
57bee542
...
...
@@ -4,7 +4,6 @@ Feature: Manage language packs
As an administrator
I need to be able to add, update and remove language packs
Background
:
Given
remote langimport tests are enabled
...
...
admin/tool/lp/tests/behat/framework_crud.feature
View file @
57bee542
...
...
@@ -68,7 +68,7 @@ Feature: Manage competency frameworks
Then
I should not see
"Science Year-4"
And
I should not see
"sc-y-4"
Scenario
:
Edit a framework with competencies in user competency
Scenario
:
Edit a framework with competencies in user competency
Given the following lp "frameworks" exist
:
|
shortname
|
idnumber
|
|
Science
Year-5
|
sc-y-5
|
...
...
@@ -98,7 +98,7 @@ Scenario: Edit a framework with competencies in user competency
And
I should see
"Science Year-5 Edited"
And
I should see
"sc-y-5"
Scenario
:
Edit a framework with competencies in user competency plan
Scenario
:
Edit a framework with competencies in user competency plan
Given the following lp "frameworks" exist
:
|
shortname
|
idnumber
|
|
Science
Year-6
|
sc-y-6
|
...
...
admin/tool/lp/tests/behat/plan_workflow.feature
View file @
57bee542
...
...
@@ -179,7 +179,7 @@ Feature: Manage plan workflow
And
I should not see
"Active"
And
I log out
Scenario
:
Manager reopen a complete learning plan
Scenario
:
Manager reopen a complete learning plan
Given the following lp "plans" exist
:
|
name
|
user
|
description
|
status
|
reviewer
|
|
Test-Plan3
|
user1
|
Description
of
plan
3
for
user
1
|
complete
|
manager1
|
...
...
admin/tool/lp/tests/behat/user_evidence_crud.feature
View file @
57bee542
...
...
@@ -78,4 +78,3 @@ Feature: Manage evidence of prior learning
Then
I should see
"List of evidence"
And
I should see
"Evidence-6"
And
I should not see
"Evidence-5"
badges/tests/behat/award_badge.feature
View file @
57bee542
...
...
@@ -357,4 +357,3 @@ Feature: Award badges
When
I press
"Revoke badge"
And
I follow
"Course Badge"
Then
I should see
"Recipients (0)"
blocks/activity_results/tests/behat/addblockinactivity.feature
View file @
57bee542
...
...
@@ -60,7 +60,7 @@ Feature: The activity results block displays student scores
And
I press
"Save changes"
And
I follow
"Course 1"
Scenario
:
Configure the block on a non-graded activity to show 3 high scores
Scenario
:
Configure the block on a non-graded activity to show 3 high scores
Given
I follow
"Test page name"
And
I add the
"Activity results"
block
When
I configure the
"Activity results"
block
...
...
@@ -78,7 +78,7 @@ Scenario: Configure the block on a non-graded activity to show 3 high scores
And
I should see
"Student 3"
in the
"Activity results"
"block"
And
I should see
"70.00"
in the
"Activity results"
"block"
Scenario
:
Block should select current activity by default
Scenario
:
Block should select current activity by default
Given
I follow
"Test assignment 1"
When
I add the
"Activity results"
block
And
I configure the
"Activity results"
block
...
...
blocks/activity_results/tests/behat/addunconfiguredblock.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block
doesn't
displays student scores
for unconfigured block
In order to be display student scores
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/addunsupportedactivity.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block display
s
student scores
Feature
:
The activity results block
doesn't
display student scores
for unsupported activity
In order to be display student scores
As a user
I need to properly configure the activity results block
...
...
blocks/activity_results/tests/behat/highscoreswithoutgroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block displays student
high
scores
In order to be display student scores
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/highscoreswithscales.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores as scales
Feature
:
The activity results block displays student
s high
scores
in group
as scales
In order to be display student scores as scales
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/highscoreswithscalesandgroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores as scales
Feature
:
The activity results block displays student
in group high
scores as scales
In order to be display student scores as scales
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/highscoreswithseperategroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block displays student
in separate groups
scores
In order to be display student scores
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/highscoreswithvisiblegroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block displays student
in visible groups
scores
In order to be display student scores
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/lowscoreswithoutgroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block displays student
low
scores
In order to be display student scores
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/lowscoreswithscales.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores as scales
Feature
:
The activity results block displays student
low
scores as scales
In order to be display student scores as scales
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/lowscoreswithscalesandgroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores as scales
Feature
:
The activity results block displays student
s in groups low
scores as scales
In order to be display student scores as scales
As a user
I need to see the activity results block
...
...
@@ -146,4 +146,3 @@ Feature: The activity results block displays student scores as scales
And
I should see
"User"
in the
"Activity results"
"block"
And
I should see
"Good"
in the
"Activity results"
"block"
And
I should see
"Average"
in the
"Activity results"
"block"
blocks/activity_results/tests/behat/lowscoreswithseperategroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block displays student
s in separate groups
scores
In order to be display student scores
As a user
I need to see the activity results block
...
...
blocks/activity_results/tests/behat/lowscoreswithvisiblegroups.feature
View file @
57bee542
@block
@block_activity_results
Feature
:
The activity results block displays student scores
Feature
:
The activity results block displays student
in visible groups low
scores
In order to be display student scores
As a user
I need to see the activity results block
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment