STEP-Pod-Capstone-Project / Capstone-Project

https://book-book-app.appspot.com
Apache License 2.0
4 stars 0 forks source link

BookSearchTile Test Updates #69

Closed antoniolinhart closed 4 years ago

antoniolinhart commented 4 years ago

Description

After meeting with Geoff, I figured out how to test when a user 'clicks' on the Add to List button in the BookSearchTile and ensure that the correct dropdowns are displayed with the correct text!

Requires using act(), awaits and async because React needs to be able to make the updates asynchronously to the states and the other components.

Linked Issue

68

antoniolinhart commented 4 years ago

LGTM

Remmber to sync with master. Some of my merged PR may could result in the test failing.

Merged with master and resolved conflicts in the testing file!