-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(loginByAPI): update loginByApi cypress command to support v42 #402
Conversation
c03f7ca
to
df24f1a
Compare
df24f1a
to
37386ee
Compare
37386ee
to
3aff814
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🚀
url: `${baseUrl}/api/loginConfig`, | ||
method: 'GET', | ||
}).then((response) => { | ||
// Versions <= 41 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment should be // Versions >= 41
}, | ||
}) | ||
} else { | ||
// Versions >=40 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Versions <= 40
?
## [10.0.6](v10.0.5...v10.0.6) (2024-05-24) ### Bug Fixes * **loginByAPI:** update loginByApi cypress command to support v42 ([#402](#402)) ([6109ee5](6109ee5))
🎉 This PR is included in version 10.0.6 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description:
loginConfig
, and if it exists (v41+), login happens via the new login endpoint.How to test:
To test, run
yarn cy:local