Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
39488a56
Commit
39488a56
authored
7 years ago
by
Art Lowel
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #176 from LotteHofstede/e2e-merge-fix
Fixed issue with e2e tests after merging
parents
c5777dd4
888aed46
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
e2e/search-page/search-page.e2e-spec.ts
+8
-4
8 additions, 4 deletions
e2e/search-page/search-page.e2e-spec.ts
with
8 additions
and
4 deletions
e2e/search-page/search-page.e2e-spec.ts
+
8
−
4
View file @
39488a56
...
...
@@ -32,8 +32,10 @@ describe('protractor SearchPage', () => {
scope
.
then
((
scopeString
:
string
)
=>
{
page
.
setCurrentScope
(
scopeString
);
page
.
submitSearchForm
();
browser
.
getCurrentUrl
().
then
((
url
:
string
)
=>
{
expect
(
url
.
indexOf
(
'
scope=
'
+
encodeURI
(
scopeString
))).
toBeGreaterThanOrEqual
(
0
);
browser
.
wait
(()
=>
{
return
browser
.
getCurrentUrl
().
then
((
url
:
string
)
=>
{
return
url
.
indexOf
(
'
scope=
'
+
encodeURI
(
scopeString
))
!==
-
1
;
});
});
});
});
...
...
@@ -42,8 +44,10 @@ describe('protractor SearchPage', () => {
const
queryString
=
'
Another interesting query string
'
;
page
.
setCurrentQuery
(
queryString
);
page
.
submitSearchForm
();
browser
.
getCurrentUrl
().
then
((
url
:
string
)
=>
{
expect
(
url
.
indexOf
(
'
query=
'
+
encodeURI
(
queryString
))).
toBeGreaterThanOrEqual
(
0
);
browser
.
wait
(()
=>
{
return
browser
.
getCurrentUrl
().
then
((
url
:
string
)
=>
{
return
url
.
indexOf
(
'
query=
'
+
encodeURI
(
queryString
))
!==
-
1
;
});
});
});
});
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