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

chore: Add integration tests runner #15148

Merged
merged 4 commits into from
May 21, 2024
Merged

Conversation

keithwillcode
Copy link
Contributor

@keithwillcode keithwillcode commented May 21, 2024

What does this PR do?

Adds an integration test runner. We have new integration tests coming in #14860.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected)
  • N/A - I have added a Docs issue here if this PR makes changes that would require a documentation change
  • I have added or modified automated tests that prove my fix is effective or that my feature works (PRs might be rejected if logical changes are not properly tested)

How should this be tested?

  • Ensure this manual run of the action with this new test suite passes

Copy link

vercel bot commented May 21, 2024

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

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 5:32pm
cal ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 5:32pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 5:32pm

Copy link
Contributor

github-actions bot commented May 21, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

Copy link

deploysentinel bot commented May 21, 2024

Current Playwright Test Results Summary

✅ 321 Passing - ⚠️ 17 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 05/21/2024 05:48:22pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: baac2d2

Started: 05/21/2024 05:44:35pm UTC

⚠️ Flakes

📄   apps/web/playwright/organization/organization-invitation.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Organization Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done nonexisting user is invited to Org
Retry 1Initial Attempt
0.82% (2) 2 / 243 runs
failed over last 7 days
0.41% (1) 1 / 243 run
flaked over last 7 days

📄   apps/web/playwright/booking-pages.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
pro user -- legacy Time slots should be reserved when selected
Retry 1Initial Attempt
0% (0) 0 / 231 runs
failed over last 7 days
8.66% (20) 20 / 231 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 9 Flakes

Top 1 Common Error Messages

null

9 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
2.49% (6) 6 / 241 runs
failed over last 7 days
60.17% (145) 145 / 241 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-161.11% (-145) -145 / 90 runs
failed over last 7 days
161.11% (145) 145 / 90 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-161.11% (-145) -145 / 90 runs
failed over last 7 days
161.11% (145) 145 / 90 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1Initial Attempt
-157.78% (-142) -142 / 90 runs
failed over last 7 days
158.89% (143) 143 / 90 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-159.55% (-142) -142 / 89 runs
failed over last 7 days
159.55% (142) 142 / 89 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when configured with 'auto' theme using Embed API
Retry 1Initial Attempt
-159.55% (-142) -142 / 89 runs
failed over last 7 days
159.55% (142) 142 / 89 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-159.55% (-142) -142 / 89 runs
failed over last 7 days
159.55% (142) 142 / 89 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-159.55% (-142) -142 / 89 runs
failed over last 7 days
159.55% (142) 142 / 89 runs
flaked over last 7 days
Popup Tests should open on clicking child element
Retry 1Initial Attempt
-157.30% (-140) -140 / 89 runs
failed over last 7 days
157.30% (140) 140 / 89 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts • 4 Flakes

Top 1 Common Error Messages

null

4 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Namespacing Different namespaces can have different init configs
Retry 1Initial Attempt
0% (0) 0 / 239 runs
failed over last 7 days
61.09% (146) 146 / 239 runs
flaked over last 7 days
Namespacing Inline Embed Add inline embed using a namespace without reload
Retry 1Initial Attempt
0% (0) 0 / 240 runs
failed over last 7 days
63.33% (152) 152 / 240 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed without a namespace(i.e. default namespace)
Retry 1Initial Attempt
0% (0) 0 / 240 runs
failed over last 7 days
64.17% (154) 154 / 240 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1Initial Attempt
0.42% (1) 1 / 240 run
failed over last 7 days
61.25% (147) 147 / 240 runs
flaked over last 7 days

📄   apps/web/playwright/profile.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can resend verification link if the secondary email is unverified
Retry 2Retry 1Initial Attempt
11.70% (33) 33 / 282 runs
failed over last 7 days
32.62% (92) 92 / 282 runs
flaked over last 7 days

📄   apps/web/playwright/teams.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams - NonOrg -- legacy Can create a booking for Round Robin EventType
Retry 2Retry 1Initial Attempt
7.91% (20) 20 / 253 runs
failed over last 7 days
30.43% (77) 77 / 253 runs
flaked over last 7 days

View Detailed Build Results


@keithwillcode keithwillcode requested a review from a team May 21, 2024 17:19
@keithwillcode keithwillcode added this to the v4.2 milestone May 21, 2024
@keithwillcode keithwillcode added High priority Created by Linear-GitHub Sync ci area: CI, DX, pipeline, github actions labels May 21, 2024
@keithwillcode keithwillcode self-assigned this May 21, 2024
e2e:
name: E2E tests
name: Tests
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Naming all of these Tests results in the following grouping, which is nicer than having all of the tests separated.
Screenshot 2024-05-17 at 3 02 56 PM

@keithwillcode keithwillcode marked this pull request as ready for review May 21, 2024 17:22
@dosubot dosubot bot added the automated-tests area: unit tests, e2e tests, playwright label May 21, 2024
@keithwillcode keithwillcode changed the title chore: Add integration tests skeleton chore: Add integration tests runner May 21, 2024
zomars
zomars previously approved these changes May 21, 2024
Copy link
Member

@zomars zomars left a comment

Choose a reason for hiding this comment

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

LGTM. Waiting on checks to auto merge.

Copy link
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@zomars zomars merged commit 1b176f0 into main May 21, 2024
38 of 40 checks passed
@zomars zomars deleted the chore/add-integration-tests-skeleton branch May 21, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-tests area: unit tests, e2e tests, playwright ci area: CI, DX, pipeline, github actions core area: core, team members only foundation High priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants