Skip to content
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

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

cliu-akamai
Copy link
Contributor

Description 📝

Add integration test to add SSH key via Profile page.

Major Changes 🔄

  • Check users can add SSH key through Profile page

How to test 🧪

yarn cy:run -s "cypress/e2e/core/account/ssh-keys.spec.ts"

@cliu-akamai cliu-akamai requested a review from a team as a code owner May 16, 2024 16:07
@cliu-akamai cliu-akamai requested review from jdamore-linode and removed request for a team May 16, 2024 16:07
Copy link

github-actions bot commented May 16, 2024

Coverage Report:
Base Coverage: 82.35%
Current Coverage: 82.35%

Copy link
Contributor

@mjac0bs mjac0bs left a 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.

Screenshot 2024-05-21 at 8 18 18 AM

@cliu-akamai cliu-akamai requested a review from a team as a code owner June 3, 2024 20:58
@cliu-akamai cliu-akamai requested review from mjac0bs and hkhalil-akamai and removed request for a team June 3, 2024 20:58
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@mjac0bs mjac0bs added Add'tl Approval Needed Waiting on another approval! and removed Missing Changeset labels Jun 3, 2024
Copy link
Contributor

@jdamore-linode jdamore-linode left a 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!

Comment on lines +21 to +27
const randomKey = randomString(400, {
uppercase: true,
lowercase: true,
numbers: true,
spaces: false,
symbols: false,
});
Copy link
Contributor

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)

@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Jun 5, 2024
Copy link
Contributor

@hkhalil-akamai hkhalil-akamai left a 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!

@cliu-akamai cliu-akamai merged commit c7bf93c into linode:develop Jun 12, 2024
18 checks passed
@cliu-akamai cliu-akamai deleted the feature/M3-7954 branch June 12, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants