Skip to content

test: Add Embed close modal test#10323

Merged
emrysal merged 3 commits into
mainfrom
e2e/embed-modal-close
Jul 23, 2023
Merged

test: Add Embed close modal test#10323
emrysal merged 3 commits into
mainfrom
e2e/embed-modal-close

Conversation

@hariombalhara
Copy link
Copy Markdown
Member

@hariombalhara hariombalhara commented Jul 23, 2023

What does this PR do?

Adds a test to verify that clicking close, actually hides the backdrop and iframe
Fixes #10322

Type of change

  • E2E

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 23, 2023

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 Jul 23, 2023 0:41am
cal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2023 0:41am
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2023 0:41am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Jul 23, 2023 0:41am
qa ⬜️ Ignored (Inspect) Jul 23, 2023 0:41am
ui ⬜️ Ignored (Inspect) Visit Preview Jul 23, 2023 0:41am

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 23, 2023

Thank you for following the naming conventions! 🙏

@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous Bot commented Jul 23, 2023

🤖 Meticulous spotted visual differences in 33 of 92 screens tested: view and approve differences detected.

Last updated for commit 4a55fdc. This comment will update as new commits are pushed.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 23, 2023

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

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Jul 23, 2023

Current Playwright Test Results Summary

✅ 87 Passing - ⚠️ 3 Flaky

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

(Last updated on 07/23/2023 12:44:23pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 4a55fdc

Started: 07/23/2023 12:42:26pm UTC

⚠️ Flakes

📄   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 1Initial Attempt
12.60% (33) 33 / 262 runs
failed over last 7 days
35.11% (92) 92 / 262 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests user can add multiple organizer address
Retry 1Initial Attempt
1.43% (4) 4 / 280 runs
failed over last 7 days
10% (28) 28 / 280 runs
flaked 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 2Retry 1Initial Attempt
1.95% (3) 3 / 154 runs
failed over last 7 days
96.75% (149) 149 / 154 runs
flaked over last 7 days

View Detailed Build Results


Comment thread packages/embeds/embed-core/playwright/lib/testUtils.ts Outdated
Copy link
Copy Markdown
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

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

Nice cleanup of existing tests too

@emrysal emrysal enabled auto-merge (squash) July 23, 2023 12:37
@emrysal emrysal merged commit f081c73 into main Jul 23, 2023
@emrysal emrysal deleted the e2e/embed-modal-close branch July 23, 2023 12:45
fritterhoff pushed a commit to hm-edu/cal.com that referenced this pull request Jul 25, 2023
* Add close modal test

* Update packages/embeds/embed-core/playwright/lib/testUtils.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

[CAL-2231] An e2e that verifies that closing the modal actually had hidden the iframe and backdrop.

3 participants