Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
8ff8af5a
Commit
8ff8af5a
authored
Nov 21, 2017
by
Ryan Herbert
Browse files
url_test.js update plot tests to account for changing splitMethod
parent
dd549573
Pipeline
#11052
passed with stages
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
browser/test/QUnit/testFiles/url_test.js
View file @
8ff8af5a
...
...
@@ -60,14 +60,12 @@ QUnit.test("plot : modifyURL",function (assert) { with (windowMock) {
sp
.
init
();
var
url
=
new
Url
(
m
,
window
);
url
.
init
();
// sp.changeSplitMethod("n", "Size", "bar");
sp
.
changeXaxis
()
sp
.
changeYaxis
()
sp
.
changeSplitMethod
(
"
nLength
"
,
"
size
"
,
"
grid
"
);
m
.
update
()
assert
.
deepEqual
(
url
.
url_dict
,{
"
plot
"
:
"
v,j
,grid
"
"
plot
"
:
"
nLength,size
,grid
"
},
"
test plot url_dict
"
)
assert
.
equal
(
window
.
location
.
search
.
toString
(),
"
?plot=
v,j
,grid
"
,
"
test if plot is in url
"
);
assert
.
equal
(
window
.
location
.
search
.
toString
(),
"
?plot=
nLength,size
,grid
"
,
"
test if plot is in url
"
);
}});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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