Ampersand's use of the
role attribute as in
getByRole() has been replaced with the
data-hook attribute for accessibility reasons. So please use
hook in place of
role when declaring bindings and also ensure your templates have
data-hook instead of
role throughout these videos (for more details see the documentation).