-
Notifications
You must be signed in to change notification settings - Fork 361
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
test: [M3-7954] - Cypress integration test to add SSH key via Profile page #10477
Conversation
Coverage Report: ✅ |
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.
@cliu-akamai Looks good overall with the spec passing and covering the expected happy path and the potential error flows.
I suggested a few minor changes. Please add a changeset too before I approve.
9d70015
to
124c0b6
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.
🚢
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.
Awesome work @cliu-akamai, the tests look and run great!
const randomKey = randomString(400, { | ||
uppercase: true, | ||
lowercase: true, | ||
numbers: true, | ||
spaces: false, | ||
symbols: false, | ||
}); |
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 might suggest shortening this string to something like 100-200 characters since we're dealing with mock data anyway, only because it takes Cypress nearly 10 seconds to type it out each time 😅 (same suggestion for line 127)
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.
✅ SSH key integration tests passing
Great work!
Description 📝
Add integration test to add SSH key via Profile page.
Major Changes 🔄
How to test 🧪