Skip to content

Brussels | ITP-2026-1 | Benjamin | Sprint 3 | Quotegenerator | Week 9#124

Open
nuttyproducer wants to merge 2 commits intoHackYourFutureBelgium:mainfrom
nuttyproducer:feature/quotegenerator
Open

Brussels | ITP-2026-1 | Benjamin | Sprint 3 | Quotegenerator | Week 9#124
nuttyproducer wants to merge 2 commits intoHackYourFutureBelgium:mainfrom
nuttyproducer:feature/quotegenerator

Conversation

@nuttyproducer
Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

I finished the quote generator exercise.

I updated the UI and styling of the quote generator and added the interaction logic so that a new quote appears when the button is clicked.

Questions

I used AI to help me understand why the test was failing with userEvent.click(). Is this OK for future exercises, too if I still understand and explain the solution myself?

Included the corrected quotes.test file inside this pull request for reference.

The quote generator code was working, but the test was failing because
the installed version of @testing-library/user-event handles clicks
asynchronously. I updated the test to use await so it matches the
dependency behavior.

I used AI to help investigate the issue and understand why the test
was failing.
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.

1 participant