Test for SelectedTilesActionBar
This test renders a SelectedTilesActionBar with mocked TileData and checks if all the required information was rendered and the effects of clicking tiles.
Note : This test requires the provider UtteredTilesProvider to register tile presses.
Test Count: 4
<SelectedTilesActionBar/> : should render properly
<SelectedTilesActionBar/> : should add tiles correctly when tiles are pressed
<SelectedTilesActionBar/> : should add elements correctly and send them to webspeech API
<SelectedTilesActionBar/> : should clear elements on the click of the clear button
Test Description
Test for SelectedTilesActionBar This test renders a SelectedTilesActionBar with mocked TileData and checks if all the required information was rendered and the effects of clicking tiles.
Note : This test requires the provider
UtteredTilesProvider
to register tile presses.Test Count: 4
<SelectedTilesActionBar/>
: should render properly<SelectedTilesActionBar/>
: should add tiles correctly when tiles are pressed<SelectedTilesActionBar/>
: should add elements correctly and send them to webspeech API<SelectedTilesActionBar/>
: should clear elements on the click of the clear button