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

Meet the team e2e test #1090

Merged
merged 7 commits into from
Aug 26, 2024
Merged

Conversation

boodland
Copy link
Contributor

Issue link / number:

#1089

What changes did you make?

Created meet-the-team e2e test 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 19, 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

boodland commented Aug 19, 2024

@kyleecodes a follow up issue/ticket can be created to add tests for the rest of languages and complete the fixture with the rest of the supporting team members, 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

Copy link

vercel bot commented Aug 23, 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 8:33am

@@ -127,7 +128,7 @@ const StoryblokTeamMemberCard = (props: StoryblokTeamMemberCardProps) => {
</CardActionArea>
<Collapse in={expanded} timeout="auto" unmountOnExit>
<CardContent sx={collapseContentStyle}>
<Typography variant="body2" mb={0} paragraph>
<Typography variant="body2" mb={0} paragraph component={'div'}>
Copy link
Contributor

Choose a reason for hiding this comment

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

@boodland - this was originally set as a paragraph component. Is there a reason why you wanted to set it to div?

Copy link
Contributor Author

@boodland boodland Aug 26, 2024

Choose a reason for hiding this comment

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

Hi @eleanorreem, semantically it is not allowed to have a p tag inside another p tag. React hydratation is throwing an error due to that, I have set to a div as the text content is in the deeper p tag that is created by the render function

Copy link
Contributor

Choose a reason for hiding this comment

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

That makes total sense now. I see what the issue is - richText is being rendered inside a paragraph. Not ideal! I'd just remove the "paragraph" prop as well.

@eleanorreem
Copy link
Contributor

@boodland thanks for these tests. Super thorough - one small question on reassigning a typography component to a div!

@eleanorreem eleanorreem merged commit 44e9907 into chaynHQ:develop Aug 26, 2024
7 checks passed
Copy link

cypress bot commented Aug 26, 2024

Bloom frontend    Run #667

Run Properties:  status check failed Failed #667  •  git commit 44e9907a4c: Meet the team e2e test (#1090)
Project Bloom frontend
Branch Review develop
Run status status check failed Failed #667
Run duration 06m 52s
Commit git commit 44e9907a4c: Meet the team e2e test (#1090)
Committer Alberto Arias
View all properties for this run ↗︎

Test results
Tests that failed  Failures 3
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 38
⚠️ 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

@eleanorreem
Copy link
Contributor

Brill - thanks @boodland !

@boodland boodland deleted the meet-the-team-e2e-test 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