diff --git a/src/addons/mod/chat/constants.ts b/src/addons/mod/chat/constants.ts index 3246d8ed3..7d468827f 100644 --- a/src/addons/mod/chat/constants.ts +++ b/src/addons/mod/chat/constants.ts @@ -20,4 +20,4 @@ export const ADDON_MOD_CHAT_PAGE_NAME = 'mod_chat'; // Handlers. export const ADDON_MOD_CHAT_PREFETCH_NAME = 'AddonModChat'; export const ADDON_MOD_CHAT_PREFETCH_MODNAME = 'chat'; -export const ADDON_MOD_CHAT_PREFETCH_COMPONENT = ADDON_MOD_CHAT_PAGE_NAME; +export const ADDON_MOD_CHAT_PREFETCH_COMPONENT = ADDON_MOD_CHAT_COMPONENT; diff --git a/src/addons/mod/chat/tests/behat/basic_usage.feature b/src/addons/mod/chat/tests/behat/basic_usage.feature index c420e5dc1..6146a2d97 100755 --- a/src/addons/mod/chat/tests/behat/basic_usage.feature +++ b/src/addons/mod/chat/tests/behat/basic_usage.feature @@ -92,4 +92,4 @@ Feature: Test basic usage of chat in app Given I entered the course "Course 1" as "student1" in the app When I press "Course downloads" in the app And I press "Download" within "Test chat name" "ion-item" in the app - Then I should not be able to press "Download" within "Test chat name" "ion-item" in the app + Then I should find "Downloaded" within "Test chat name" "ion-item" in the app