Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
35d76ef5
Commit
35d76ef5
authored
Dec 13, 2018
by
Eric Rosenbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests
parent
d949edef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
test/integration/smoke-testing/test_footer_links.js
test/integration/smoke-testing/test_footer_links.js
+4
-4
test/integration/smoke-testing/test_navbar_links.js
test/integration/smoke-testing/test_navbar_links.js
+3
-3
No files found.
test/integration/smoke-testing/test_footer_links.js
View file @
35d76ef5
...
...
@@ -162,10 +162,10 @@ tap.test('clickStatisticsLink', options, t => {
// ==== SUPPORT column ====
//
TIP
S PAGE
tap
.
test
(
'
click
Tip
sPageLink
'
,
options
,
t
=>
{
const
linkText
=
'
Tip
s
'
;
const
expectedHref
=
'
/
tip
s
'
;
//
IDEA
S PAGE
tap
.
test
(
'
click
Idea
sPageLink
'
,
options
,
t
=>
{
const
linkText
=
'
Idea
s
'
;
const
expectedHref
=
'
/
idea
s
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
.
substr
(
-
expectedHref
.
length
),
expectedHref
);
t
.
end
();
...
...
test/integration/smoke-testing/test_navbar_links.js
View file @
35d76ef5
...
...
@@ -57,9 +57,9 @@ tap.test('checkExploreLinkWhenSignedOut', function (t) {
});
});
tap
.
test
(
'
check
Tip
sLinkWhenSignedOut
'
,
function
(
t
)
{
var
xPathLink
=
'
//li[contains(@class, "link") and contains(@class, "
tip
s")]/a
'
;
var
expectedHref
=
'
/
tip
s
'
;
tap
.
test
(
'
check
Idea
sLinkWhenSignedOut
'
,
function
(
t
)
{
var
xPathLink
=
'
//li[contains(@class, "link") and contains(@class, "
idea
s")]/a
'
;
var
expectedHref
=
'
/
idea
s
'
;
driver
.
findElement
(
webdriver
.
By
.
xpath
(
xPathLink
))
.
then
(
function
(
element
)
{
return
element
.
getAttribute
(
'
href
'
);
...
...
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