Class org.mozilla.fenix.snackbar.FenixSnackbarDelegateTest

9

tests

0

failures

0

ignored

2.614s

duration

100%

successful

Tests

Test Duration Result
GIVEN a snackbar is shown for indefinite duration WHEN dismiss is called THEN dismiss the snackbar 0.218s passed
GIVEN a snackbar is shown with a short duration WHEN dismiss is called THEN dismiss the snackbar 0.219s passed
GIVEN an action listener is not provided WHEN the snackbar is made THEN the snackbar's action listener is null 0.216s passed
GIVEN an action string and an action listener are not provided WHEN the snackbar state is made THEN the snackbar state's listener is null 0.218s passed
GIVEN an action string is not provided WHEN the snackbar is made THEN the snackbar's action listener is null 0.220s passed
GIVEN an indefinite snackbar is already displayed WHEN a new indefinite snackbar is requested THEN dismiss the original snackbar 0.220s passed
GIVEN the snackbar is an error WHEN the snackbar state is made THEN the snackbar should be the warning type 0.837s passed
GIVEN the snackbar is not an error WHEN the snackbar state is made THEN the snackbar should be the default type 0.221s passed
WHEN the snackbar is requested THEN show snackbar is shown 0.245s passed