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
38c2af74
Commit
38c2af74
authored
May 24, 2021
by
BryceLTaylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
look for guiPlayer on project page in project rows test
parent
b4dfbc0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/integration/project-rows.test.js
test/integration/project-rows.test.js
+4
-4
No files found.
test/integration/project-rows.test.js
View file @
38c2af74
...
...
@@ -12,7 +12,7 @@ let rootUrl = process.env.ROOT_URL || 'https://scratch.ly';
if
(
remote
)
{
jest
.
setTimeout
(
60000
);
}
else
{
jest
.
setTimeout
(
1
0000
);
jest
.
setTimeout
(
2
0000
);
}
let
driver
;
...
...
@@ -38,9 +38,9 @@ describe('www-integration project rows', () => {
test
(
'
Featured Project link
'
,
async
()
=>
{
await
clickXpath
(
'
//div[@class="box"][descendant::text()="Featured Projects"]
'
+
'
//div[contains(@class, "thumbnail")][1]/a[@class="thumbnail-image"]
'
);
let
g
fOverlay
=
await
findByXpath
(
'
//div[@class="stage-wrapper_stage-wrapper_2bejr box_box_2jjDp
"]
'
);
let
g
fOverlayDisplayed
=
await
gfOverlay
.
isDisplayed
();
await
expect
(
g
fOverlay
Displayed
).
toBe
(
true
);
let
g
uiPlayer
=
await
findByXpath
(
'
//div[@class="guiPlayer
"]
'
);
let
g
uiPlayerDisplayed
=
await
guiPlayer
.
isDisplayed
();
await
expect
(
g
uiPlayer
Displayed
).
toBe
(
true
);
});
test
(
'
Featured Studios row title
'
,
async
()
=>
{
...
...
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