cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

test: Create E2E tests to check timezone and date behaviors in a regular booking (testE2E-timezone)

Open gitstart-app[bot] opened this issue 2 years ago • 12 comments
trafficstars

DEMO

image

gitstart-app[bot] avatar Oct 06 '23 16:10 gitstart-app[bot]

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

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 9:13pm
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 9:13pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jan 18, 2024 9:13pm
cal ⬜️ Ignored (Inspect) Visit Preview Jan 18, 2024 9:13pm
cal-demo ⬜️ Ignored (Inspect) Visit Preview Jan 18, 2024 9:13pm
qa ⬜️ Ignored (Inspect) Visit Preview Jan 18, 2024 9:13pm
ui ⬜️ Ignored (Inspect) Visit Preview Jan 18, 2024 9:13pm

vercel[bot] avatar Oct 06 '23 16:10 vercel[bot]

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

github-actions[bot] avatar Oct 06 '23 16:10 github-actions[bot]

📦 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! 🙌

github-actions[bot] avatar Oct 06 '23 16:10 github-actions[bot]

Current Playwright Test Results Summary

✅ 338 Passing - ❌ 5 Failing - ⚠️ 8 Flaky

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

(Last updated on 01/18/2024 09:15:57pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 7b11653bd4c7d5a2663e3d4b22ca40d260924f91

Started: 01/18/2024 09:05:38pm UTC

❌ Failures

📄   apps/web/playwright/ab-tests-redirect.e2e.ts • 2 Failures

Top 1 Common Error Messages

Timed out 30000ms waiting for expect(received).toBeVisible()

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
apps/ A/B tests should point to the /future/apps/categories
Retry 2Retry 1Initial Attempt
Error: Timed out 30000ms waiting for expect(received).toBeVisible()...
Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
  - expect.toBeVisible with timeout 30000ms
  - waiting for getByTestId('app-store-category-messaging')
  - waiting for getByTestId('app-store-category-messaging')

18.85% (82) 82 / 435 runs
failed over last 7 days
0% (0) 0 / 435 runs
flaked over last 7 days
apps/ A/B tests should point to the /future/getting-started
Retry 2Retry 1Initial Attempt
Error: Timed out 30000ms waiting for expect(received).toBeVisible()...
Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
  - expect.toBeVisible with timeout 30000ms
  - waiting for getByText('Apple Calendar')
  - waiting for getByText('Apple Calendar')

18.75% (81) 81 / 432 runs
failed over last 7 days
0% (0) 0 / 432 runs
flaked over last 7 days

📄   apps/web/playwright/booking/addressQuestione2e/addressQuestion.e2e.ts • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Address Question and Each Other Question Booking With Address Question and Short text question Address and Short text not required
Initial Attempt
Error: locator.isVisible: Execution context was destroyed, most likely because of a nav...
locator.isVisible: Execution context was destroyed, most likely because of a navigation
=========================== logs ===========================
  checking visibility of getByRole('button', { name: 'View next' })
============================================================
1.11% (4) 4 / 361 runs
failed over last 7 days
0.83% (3) 3 / 361 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams A/B tests should point to the /future/teams page
Retry 2Retry 1Initial Attempt
Error: Timed out 30000ms waiting for expect(received).toBeVisible()...
Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
  - expect.toBeVisible with timeout 30000ms
  - waiting for getByRole('heading', { name: 'Teams', exact: true })
  - waiting for getByRole('heading', { name: 'Teams', exact: true })

17.83% (79) 79 / 443 runs
failed over last 7 days
0% (0) 0 / 443 runs
flaked over last 7 days

📄   apps/web/playwright/app-store.e2e.ts • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
App Store - Authed should point to the /future/apps/
Retry 2Retry 1Initial Attempt
Error: Timed out 30000ms waiting for expect(received).toBeVisible()...
Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
  - expect.toBeVisible with timeout 30000ms
  - waiting for getByRole('heading', { name: 'App Store' })
  - waiting for getByRole('heading', { name: 'App Store' })

18.71% (81) 81 / 433 runs
failed over last 7 days
0% (0) 0 / 433 runs
flaked over last 7 days

⚠️ Flakes

📄   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 1Initial Attempt
0% (0) 0 / 426 runs
failed over last 7 days
24.18% (103) 103 / 426 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests user -- future Different Locations Tests can add single organizer address location without display location public option
Retry 1Initial Attempt
0% (0) 0 / 402 runs
failed over last 7 days
3.73% (15) 15 / 402 runs
flaked over last 7 days
Event Types tests user -- legacy enabling recurring event comes with default options
Retry 1Initial Attempt
0.50% (2) 2 / 401 runs
failed over last 7 days
8.98% (36) 36 / 401 runs
flaked 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 2Retry 1Initial Attempt
2.09% (9) 9 / 430 runs
failed over last 7 days
11.63% (50) 50 / 430 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/inline.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Inline Iframe Inline Iframe - Configured with Dark Theme
Retry 1Initial Attempt
2.34% (10) 10 / 427 runs
failed over last 7 days
36.07% (154) 154 / 427 runs
flaked over last 7 days

📄   apps/web/playwright/booking/multipleEmailQuestion.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and checkbox group Question Multiple Email required and checkbox group required
Retry 1Initial Attempt
3.60% (15) 15 / 417 runs
failed over last 7 days
1.92% (8) 8 / 417 runs
flaked over last 7 days
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and Address Question Multiple Email and Address not required
Retry 1Initial Attempt
3.60% (15) 15 / 417 runs
failed over last 7 days
5.28% (22) 22 / 417 runs
flaked over last 7 days

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Router URL should work
Retry 1Initial Attempt
0% (0) 0 / 434 runs
failed over last 7 days
11.29% (49) 49 / 434 runs
flaked over last 7 days

View Detailed Build Results


deploysentinel[bot] avatar Oct 06 '23 16:10 deploysentinel[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 24 '23 20:10 CLAassistant

On this PR we are performing the following steps:

  1. Create a regular event-type called "15 min test timezone"
  2. Book a meeting after change the timezone to "America/New_York" in the booking page timezone dropdown
  3. Check if the correct timezone is displayed and if the meeting was scheduled successfully
  4. On "Upcoming Pages" we check if the icon globe is displayed in the bookings page and if the correct timezone is displayed when we click on it
  5. Cancel the meeting on "Upcoming Page" and make sure it was successfully canceled
  6. Delete the created event-type and make sure it was deleted successfully

We can add a test about changing the timezone in settings and make sure the timezone was changed and displayed correctly if you want.

With this tests we can prevent issues like that

gitstart-calcom avatar Nov 23 '23 18:11 gitstart-calcom

This PR is estimated to cost between 20 and 35 credits. 🟡 By merging this PR you agree to this estimate. If you disagree, click here.

gitstart-app[bot] avatar Nov 28 '23 19:11 gitstart-app[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Dec 15 '23 00:12 github-actions[bot]

This PR is being closed due to inactivity. Please reopen if work is intended to be continued.

github-actions[bot] avatar Dec 23 '23 00:12 github-actions[bot]

This PR is estimated to cost between 20 and 35 credits. 🟡 By merging this PR you agree to this estimate. If you disagree, click here.

gitstart-app[bot] avatar Jan 08 '24 22:01 gitstart-app[bot]

This PR is estimated to cost between 20 and 35 credits. 🟡 By merging this PR you agree to this estimate. If you disagree, click here.

gitstart-app[bot] avatar Jan 08 '24 22:01 gitstart-app[bot]

Here is the GitStart Ticket for this issue: https://clients.gitstart.com/calcom/2711/tickets/CALCOM-11738

gitstart-app[bot] avatar Jan 10 '24 15:01 gitstart-app[bot]

Closing this in favor of the unit test PR we have up to test this

keithwillcode avatar Jan 20 '24 14:01 keithwillcode