MOBILE-4470 chat: Fix wrong component used in prefetch

main
Dani Palou 2024-05-24 15:19:58 +02:00
parent 888d518e86
commit 4cae0f704d
2 changed files with 2 additions and 2 deletions

View File

@ -20,4 +20,4 @@ export const ADDON_MOD_CHAT_PAGE_NAME = 'mod_chat';
// Handlers. // Handlers.
export const ADDON_MOD_CHAT_PREFETCH_NAME = 'AddonModChat'; export const ADDON_MOD_CHAT_PREFETCH_NAME = 'AddonModChat';
export const ADDON_MOD_CHAT_PREFETCH_MODNAME = 'chat'; 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;

View File

@ -92,4 +92,4 @@ Feature: Test basic usage of chat in app
Given I entered the course "Course 1" as "student1" in the app Given I entered the course "Course 1" as "student1" in the app
When I press "Course downloads" in the app When I press "Course downloads" in the app
And I press "Download" within "Test chat name" "ion-item" 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