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
a0603117
Commit
a0603117
authored
Aug 18, 2021
by
BryceLTaylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments to jest integration tests about users used in tests
parent
a124d5d3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
1 deletion
+15
-1
test/integration/footer-links.test.js
test/integration/footer-links.test.js
+2
-0
test/integration/homepage-rows.test.js
test/integration/homepage-rows.test.js
+2
-0
test/integration/join.test.js
test/integration/join.test.js
+2
-0
test/integration/my-stuff.test.js
test/integration/my-stuff.test.js
+2
-0
test/integration/navbar.test.js
test/integration/navbar.test.js
+2
-0
test/integration/project-page.test.js
test/integration/project-page.test.js
+3
-1
test/integration/sign-in-and-out.test.js
test/integration/sign-in-and-out.test.js
+2
-0
No files found.
test/integration/footer-links.test.js
View file @
a0603117
// these tests do not sign in as a user
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
test/integration/homepage-rows.test.js
View file @
a0603117
// these tests do not sign in as a user
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
test/integration/join.test.js
View file @
a0603117
// these tests do not sign in as a user
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
test/integration/my-stuff.test.js
View file @
a0603117
// These tests sign in as user #1
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
test/integration/navbar.test.js
View file @
a0603117
// These tests do not sign in as a user
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
test/integration/project-page.test.js
View file @
a0603117
// These tests do not sign in with a user
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
@@ -35,7 +37,7 @@ describe('www-integration project-page signed out', () => {
afterAll
(
async
()
=>
await
driver
.
quit
());
// LOGGED OUT TESTS
test
(
'
Find fullscreen button
'
,
async
()
=>
{
await
clickXpath
(
'
//div[starts-with(@class, "stage_green-flag-overlay")]
'
);
await
clickXpath
(
'
//img[contains(@alt, "Enter full screen mode")]
'
);
...
...
test/integration/sign-in-and-out.test.js
View file @
a0603117
// These tests sign in with user #0 (no number for the username)
const
SeleniumHelper
=
require
(
'
./selenium-helpers.js
'
);
const
{
...
...
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