Variable SnackbarConst

Snackbar: any = SnackbarInteractor

Call this InteractorConstructor to initialize a snackbar Interactor. The snackbar interactor can be used to assert on snackbars state.

The snackbar is located by the visible text of content message.

await Snackbar('I love snacks').exists();
  • id: string – Filter by id
  • visible: boolean – Filter by visibility. Defaults to true. See isVisible.