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
bf91904a
Commit
bf91904a
authored
Jun 25, 2021
by
BryceLTaylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update homepage-rows and my-stuff integrationt ests for new studio page
parent
a0fcf889
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
test/integration/homepage-rows.test.js
test/integration/homepage-rows.test.js
+3
-3
test/integration/my-stuff.test.js
test/integration/my-stuff.test.js
+1
-1
No files found.
test/integration/homepage-rows.test.js
View file @
bf91904a
...
...
@@ -52,8 +52,8 @@ describe('www-integration project rows', () => {
test
(
'
Featured Studios link
'
,
async
()
=>
{
await
clickXpath
(
'
//div[@class="box"][descendant::text()="Featured Studios"]
'
+
'
//div[contains(@class, "thumbnail")][1]/a[@class="thumbnail-image"]
'
);
let
galleryInfo
=
await
findByXpath
(
'
//div[contains(@class, "gallery
-info")]
'
);
let
galleryInfoDisplayed
=
await
gallery
Info
.
isDisplayed
();
await
expect
(
gallery
InfoDisplayed
).
toBe
(
true
);
let
studioInfo
=
await
findByXpath
(
'
//div[contains(@class, "studio
-info")]
'
);
let
studioInfoDisplayed
=
await
studio
Info
.
isDisplayed
();
await
expect
(
studio
InfoDisplayed
).
toBe
(
true
);
});
});
test/integration/my-stuff.test.js
View file @
bf91904a
...
...
@@ -92,7 +92,7 @@ describe('www-integration my_stuff', () => {
await
clickXpath
(
'
//form[@id="new_studio"]/button[@type="submit"]
'
);
await
driver
.
sleep
(
500
);
// my stuff also has an element with the id tabs
let
tabs
=
await
findByXpath
(
'
//
ul[@id="tabs" and @class="tabs-index box-h-tabs h
-tabs"]
'
);
let
tabs
=
await
findByXpath
(
'
//
div[@class="studio
-tabs"]
'
);
let
tabsVisible
=
await
tabs
.
isDisplayed
();
expect
(
tabsVisible
).
toBe
(
true
);
});
...
...
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