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
integration
prechecker
Commits
f017a30f
Commit
f017a30f
authored
Dec 07, 2017
by
Andrew Nicols
Browse files
Merge branch 'MDL-60880-master-fix1' of
http://github.com/damyon/moodle
parents
4ffbf220
6f7daa5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
search/tests/behat/search_query.feature
View file @
f017a30f
...
...
@@ -59,7 +59,7 @@ Feature: Use global search interface
When
I search for
"frogs"
using the header global search box
And
I expand all fieldsets
Then
I should not see
"Search within"
And
I should see
"Courses"
And
I should see
"Courses"
in the
"region-main"
"region"
@javascript
Scenario
:
Search starting from course context (within option lists course)
...
...
@@ -71,9 +71,9 @@ Feature: Use global search interface
And
I expand all fieldsets
Then
I should see
"Search within"
And
I select
"Everywhere you can access"
from the
"Search within"
singleselect
And
I should see
"Courses"
And
I should see
"Courses"
in the
"region-main"
"region"
And I select "Course
:
Amphibians"
from
the
"Search
within"
singleselect
And
I should not see
"Courses"
And
I should not see
"Courses"
in the
"region-main"
"region"
@javascript
Scenario
:
Search starting from forum context (within option lists course and forum)
...
...
@@ -86,8 +86,8 @@ Feature: Use global search interface
And
I expand all fieldsets
And
I should see
"Search within"
And
I select
"Everywhere you can access"
from the
"Search within"
singleselect
And
I should see
"Courses"
And
I should see
"Courses"
in the
"region-main"
"region"
And I select "Course
:
Amphibians"
from
the
"Search
within"
singleselect
And
I should not see
"Courses"
And
I should not see
"Courses"
in the
"region-main"
"region"
And I select "Forum
:
ForumName1"
from
the
"Search
within"
singleselect
And
I should not see
"Courses"
And
I should not see
"Courses"
in the
"region-main"
"region"
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