-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: Across Org Scenarios - Wrong links for event and team #12358
fix: Across Org Scenarios - Wrong links for event and team #12358
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
Current Playwright Test Results Summary✅ 309 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 12/19/2023 07:56:41am UTC) Run DetailsRunning Workflow Pre-release checks on Github Actions Commit: 5c45b9d Started: 12/19/2023 07:47:47am UTC
|
|
4 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Organization Email not matching orgAutoAcceptEmail Org Invitation
Retry 1 • Initial Attempt |
-100% (-32)-32 / 32 runsfailed over last 7 days |
112.50% (36)36 / 32 runsflaked over last 7 days |
Organization Email not matching orgAutoAcceptEmail Team invitation
Retry 1 • Initial Attempt |
-85.71% (-24)-24 / 28 runsfailed over last 7 days |
110.71% (31)31 / 28 runsflaked over last 7 days |
Organization Email matching orgAutoAcceptEmail and a Verified Organization Org Invitation
Retry 1 • Initial Attempt |
-38.10% (-8)-8 / 21 runsfailed over last 7 days |
85.71% (18)18 / 21 runsflaked over last 7 days |
Organization Email matching orgAutoAcceptEmail and a Verified Organization Team Invitation
Retry 1 • Initial Attempt |
-100% (-11)-11 / 11 runsfailed over last 7 days |
136.36% (15)15 / 11 runsflaked over last 7 days |
📄 apps/web/playwright/organization/organization-creation.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Organization should be able to create an organization and complete onboarding
Retry 1 • Initial Attempt |
15.30% (41)41 / 268 runsfailed over last 7 days |
47.39% (127)127 / 268 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/preview.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Preview Preview - embed-core should load
Retry 1 • Initial Attempt |
0% (0)0 / 263 runsfailed over last 7 days |
21.67% (57)57 / 263 runsflaked over last 7 days |
📄 apps/web/playwright/organization/across-org/across-org.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
user1NotMemberOfOrg1 is part of team1MemberOfOrg1 EventTypes listing should show correct link for user events and team1MemberOfOrg1's events
Retry 1 • Initial Attempt |
0% (0)0 / 2 runsfailed over last 7 days |
50% (1)1 / 2 runflaked over last 7 days |
📄 apps/web/playwright/login.2fa.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1 • Initial Attempt |
0.77% (2)2 / 261 runsfailed over last 7 days |
32.18% (84)84 / 261 runsflaked over last 7 days |
📄 apps/web/playwright/team/team-invitation.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Team Invitation (non verified)
Retry 1 • Initial Attempt |
4.26% (11)11 / 258 runsfailed over last 7 days |
93.02% (240)240 / 258 runsflaked over last 7 days |
Team Invitation (verified)
Retry 1 • Initial Attempt |
0% (0)0 / 258 runsfailed over last 7 days |
94.96% (245)245 / 258 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
15.47% (41)41 / 265 runsfailed over last 7 days |
78.11% (207)207 / 265 runsflaked over last 7 days |
6f733b0
to
5284906
Compare
5284906
to
a2865aa
Compare
a2865aa
to
7477970
Compare
7477970
to
3471842
Compare
@@ -291,7 +303,6 @@ export const getByViewerHandler = async ({ ctx, input }: GetByViewerOptions) => | |||
...group.metadata, | |||
teamId: group.teamId, | |||
membershipRole: group.membershipRole, | |||
image: `${bookerUrl}/${group.profile.slug}/avatar.png`, |
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.
No need to set it here, we are already setting it in the above code
3471842
to
a22c319
Compare
…_for_event_and_team
…and_team' into 11-14-fix_Wrong_links_for_event_and_team
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.
Tested locally and can confirm all links for eventTypes and avatars for users in a team not in an org appears to be correct.
Great work this must not have been easy to get your head around. Code looks great. Amazing coverage with the tests too!
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
…_for_event_and_team
…and_team' into 11-14-fix_Wrong_links_for_event_and_team
…_for_event_and_team
8f01f47
to
5c45b9d
Compare
What does this PR do?
This PR makes it more reliable to do partial migration of users or teams to an org so that during the migration there is no disruption of services even if the migration is really gradual.
Fixes #12002
Type of change
Test Results
https://github.com/calcom/cal.com/actions/runs/7258635346
How should this be tested?
See this loom
Mandatory Tasks