Skip to content

test: solved contact email exercise - #11

Open
Gexxo1 wants to merge 1 commit into
UNICT-Quality-Development:mainfrom
Gexxo1:test/contact-email
Open

Gexxo1 wants to merge 1 commit into
UNICT-Quality-Development:mainfrom
Gexxo1:test/contact-email

Conversation

@Gexxo1

@Gexxo1 Gexxo1 commented Nov 13, 2026

Copy link
Copy Markdown

No description provided.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f7553d5f-259b-4ad0-8a82-1dc1b52ae9f4
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Comment thread tests/contact_email.py
@@ -0,0 +1,17 @@
from playwright.sync_api import Page, expect

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pytest esegue solo i file che si chiamano test_*.py, quindi questo scenario non parte mai, puoi rinominarlo in tests/test_contact_email.py

Comment thread tests/contact_email.py
contact_email = page.get_by_test_id("contact-email")

expect(contact_email).to_have_text(email)
expect(contact_email).to_have_attribute("href", f"mailto:{email}") No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

manca il newline a fine file, anche in tests/features/contact.feature

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