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

Welcome e2e tests #1092

Merged
merged 10 commits into from
Aug 26, 2024
Merged

Welcome e2e tests #1092

merged 10 commits into from
Aug 26, 2024

Conversation

boodland
Copy link
Contributor

@boodland boodland commented Aug 20, 2024

Issue link / number:

#1089

What changes did you make?

Created welcome and welcome badoo e2e tests for english version

Why did you make the changes?

So the page is covered with test and help us to validate it is working when making changes or migrating it to app router

Did you run tests?

Yes

Copy link

vercel bot commented Aug 20, 2024

@boodland is attempting to deploy a commit to the Chayn Team on Vercel.

A member of the Team first needs to authorize it.

@boodland
Copy link
Contributor Author

@kyleecodes a follow up issue/ticket can be created to add tests for the rest of languages and partners (bumble and fruitz), I did not include all of them to save time and be able to move to another migration task, also they can be good first tasks for new contributors. Thanks in advance

eleanorreem
eleanorreem previously approved these changes Aug 23, 2024
cy.get('button').contains('Get started').click();
cy.checkPageUrl(registerPartnerBadooUrl);
});
it('with action code', () => {
Copy link
Contributor

@eleanorreem eleanorreem Aug 23, 2024

Choose a reason for hiding this comment

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

So i'd drop this test with action code. I think this test can be very minimal. We also have other tests that loosely follow the same flow so this doesn't need to be thorough. See register-partner-with-code.tsx and register-partner-without-code.tsx. Also you might have a different setup as this didn't work for me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@eleanorreem I have applied the changes.Thanks for the feedback!

@eleanorreem
Copy link
Contributor

@boodland thanks for this! Nice to safeguard your changes. I think you might be duplicating some cypress tests so I'd keep this test a bit simpler. See create-user.tsx, register-partner-with-code.tsx and register-partner-without-code.tsx.

Copy link

vercel bot commented Aug 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bloom-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 26, 2024 11:57am

@eleanorreem eleanorreem merged commit 5d5c034 into chaynHQ:develop Aug 26, 2024
7 checks passed
@eleanorreem
Copy link
Contributor

Thanks @boodland

Copy link

cypress bot commented Aug 26, 2024

Bloom frontend    Run #670

Run Properties:  status check failed Failed #670  •  git commit 5d5c034688: Welcome e2e tests (#1092)
Project Bloom frontend
Branch Review develop
Run status status check failed Failed #670
Run duration 07m 14s
Commit git commit 5d5c034688: Welcome e2e tests (#1092)
Committer Alberto Arias
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 40
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Tests for review

@boodland boodland deleted the welcome-e2e-tests branch August 27, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants