Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
805
Merge Requests
51
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
77489767
Commit
77489767
authored
37 minutes ago
by
Ben Hayward
Browse files
Options
Download
Updated login command to wait
parent
223709fa
feat/e2e-pipeline-adjustments
1 merge request
!655
WIP: [Sprint/RollingRabbit](fix): E2E Pipeline Adjustments
Pipeline
#95771777
failed with stages
in 5 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cypress/support/commands.js
View file @
77489767
...
...
@@ -77,7 +77,9 @@ Cypress.Commands.add('login', (canary = false, username, password) => {
username
=
username
?
username
:
Cypress
.
env
().
username
;
password
=
password
?
password
:
Cypress
.
env
().
password
;
cy
.
visit
(
'
/login
'
);
cy
.
visit
(
'
/login
'
)
.
location
(
'
pathname
'
)
.
should
(
'
eq
'
,
'
/newsfeed/subscriptions
'
);
cy
.
server
();
cy
.
route
(
"
POST
"
,
"
/api/v1/authenticate
"
).
as
(
"
postLogin
"
);
...
...
This diff is collapsed.
Please
register
or
sign in
to comment