From eb0303d3013d366dd7050b0a2192e985de57cfc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 5 May 2022 12:19:58 +0200 Subject: [PATCH] MOBILE-4061 behat: Merge import behat files from local-moodlemobileapp --- .../templates/behat-plugin/classes}/output/mobile.php | 0 {db => scripts/templates/behat-plugin/db}/mobile.php | 0 {js => scripts/templates/behat-plugin/js}/mobile/index.js | 0 .../addons/messages/tests/behat/basic_usage.feature | 0 {mod => src/addons}/messages/tests/behat/navigation.feature | 0 {mod => src/addons}/messages/tests/behat/settings.feature | 0 .../addons/mod/assign/tests/behat/basic_usage.feature | 0 .../addons/mod/assign/tests/behat/navigation.feature | 0 .../addons/mod/chat/tests/behat/basic_usage.feature | 0 .../addons/mod/chat/tests/behat/navigation.feature | 0 .../addons/mod/choice/tests/behat/basic_usage.feature | 0 .../addons/mod/data/tests/behat/data_entries.feature | 0 .../addons/mod/data/tests/behat/data_sync.feature | 0 .../addons/mod/forum/tests/behat/basic_usage.feature | 0 .../addons/mod/forum/tests/behat/navigation.feature | 0 .../addons/mod/glossary/tests/behat/basic_usage.feature | 0 .../addons/mod/glossary/tests/behat/navigation.feature | 0 .../addons/mod/quiz/tests/behat/basic_usage.feature | 0 .../addons/mod/quiz/tests/behat/quiz_navigation.feature | 0 .../addons/mod/survey/tests/behat/basic_usage.feature | 0 .../core/features/comments/tests/behat/basic_usage.feature | 0 .../core/features/course/tests/behat/basic_usage.feature | 0 .../core/features/course/tests/behat/course_completion.feature | 0 .../core/features/course/tests/behat/courselist.feature | 0 .../core/features/courses/tests/behat/basic_usage.feature | 0 .../core/features/login/tests/behat/basic_usage.feature | 0 .../core/features/mainmenu/tests}/behat/mainmenu.feature | 0 .../features/settings/tests}/behat/settings_navigation.feature | 0 .../core/features/siteplugins/tests}/behat/plugins.feature | 0 .../core/features/usertours/tests}/behat/usertours.feature | 0 {tests => src/tests}/behat/navigation_activities.feature | 0 {tests => src/tests}/behat/navigation_deeplinks.feature | 0 {tests => src/tests}/behat/navigation_externallinks.feature | 0 {tests => src/tests}/behat/navigation_gestures.feature | 0 {tests => src/tests}/behat/navigation_splitview.feature | 0 35 files changed, 0 insertions(+), 0 deletions(-) rename {classes => scripts/templates/behat-plugin/classes}/output/mobile.php (100%) rename {db => scripts/templates/behat-plugin/db}/mobile.php (100%) rename {js => scripts/templates/behat-plugin/js}/mobile/index.js (100%) rename mod/messages/tests/behat/app_basic_usage.feature => src/addons/messages/tests/behat/basic_usage.feature (100%) rename {mod => src/addons}/messages/tests/behat/navigation.feature (100%) rename {mod => src/addons}/messages/tests/behat/settings.feature (100%) rename mod/assignment/tests/behat/app_basic_usage.feature => src/addons/mod/assign/tests/behat/basic_usage.feature (100%) rename mod/assignment/tests/behat/app_navigation.feature => src/addons/mod/assign/tests/behat/navigation.feature (100%) rename mod/chat/tests/behat/app_basic_usage.feature => src/addons/mod/chat/tests/behat/basic_usage.feature (100%) rename mod/chat/tests/behat/app_navigation.feature => src/addons/mod/chat/tests/behat/navigation.feature (100%) rename mod/choice/tests/behat/app_basic_usage.feature => src/addons/mod/choice/tests/behat/basic_usage.feature (100%) rename mod/data/tests/behat/app_data_entries.feature => src/addons/mod/data/tests/behat/data_entries.feature (100%) rename mod/data/tests/behat/app_data_sync.feature => src/addons/mod/data/tests/behat/data_sync.feature (100%) rename mod/forum/tests/behat/app_basic_usage.feature => src/addons/mod/forum/tests/behat/basic_usage.feature (100%) rename mod/forum/tests/behat/app_navigation.feature => src/addons/mod/forum/tests/behat/navigation.feature (100%) rename mod/glossary/tests/behat/app_basic_usage.feature => src/addons/mod/glossary/tests/behat/basic_usage.feature (100%) rename mod/glossary/tests/behat/app_navigation.feature => src/addons/mod/glossary/tests/behat/navigation.feature (100%) rename mod/quiz/tests/behat/app_basic_usage.feature => src/addons/mod/quiz/tests/behat/basic_usage.feature (100%) rename mod/quiz/tests/behat/app_quiz_navigation.feature => src/addons/mod/quiz/tests/behat/quiz_navigation.feature (100%) rename mod/survey/tests/behat/app_basic_usage.feature => src/addons/mod/survey/tests/behat/basic_usage.feature (100%) rename mod/comments/tests/behat/app_basic_usage.feature => src/core/features/comments/tests/behat/basic_usage.feature (100%) rename mod/course/tests/behat/app_basic_usage.feature => src/core/features/course/tests/behat/basic_usage.feature (100%) rename mod/course/tests/behat/app_course_completion.feature => src/core/features/course/tests/behat/course_completion.feature (100%) rename mod/course/tests/behat/app_courselist.feature => src/core/features/course/tests/behat/courselist.feature (100%) rename mod/courses/tests/behat/app_basic_usage.feature => src/core/features/courses/tests/behat/basic_usage.feature (100%) rename mod/login/tests/behat/app_basic_usage.feature => src/core/features/login/tests/behat/basic_usage.feature (100%) rename {tests => src/core/features/mainmenu/tests}/behat/mainmenu.feature (100%) rename {tests => src/core/features/settings/tests}/behat/settings_navigation.feature (100%) rename {tests => src/core/features/siteplugins/tests}/behat/plugins.feature (100%) rename {tests => src/core/features/usertours/tests}/behat/usertours.feature (100%) rename {tests => src/tests}/behat/navigation_activities.feature (100%) rename {tests => src/tests}/behat/navigation_deeplinks.feature (100%) rename {tests => src/tests}/behat/navigation_externallinks.feature (100%) rename {tests => src/tests}/behat/navigation_gestures.feature (100%) rename {tests => src/tests}/behat/navigation_splitview.feature (100%) diff --git a/classes/output/mobile.php b/scripts/templates/behat-plugin/classes/output/mobile.php similarity index 100% rename from classes/output/mobile.php rename to scripts/templates/behat-plugin/classes/output/mobile.php diff --git a/db/mobile.php b/scripts/templates/behat-plugin/db/mobile.php similarity index 100% rename from db/mobile.php rename to scripts/templates/behat-plugin/db/mobile.php diff --git a/js/mobile/index.js b/scripts/templates/behat-plugin/js/mobile/index.js similarity index 100% rename from js/mobile/index.js rename to scripts/templates/behat-plugin/js/mobile/index.js diff --git a/mod/messages/tests/behat/app_basic_usage.feature b/src/addons/messages/tests/behat/basic_usage.feature similarity index 100% rename from mod/messages/tests/behat/app_basic_usage.feature rename to src/addons/messages/tests/behat/basic_usage.feature diff --git a/mod/messages/tests/behat/navigation.feature b/src/addons/messages/tests/behat/navigation.feature similarity index 100% rename from mod/messages/tests/behat/navigation.feature rename to src/addons/messages/tests/behat/navigation.feature diff --git a/mod/messages/tests/behat/settings.feature b/src/addons/messages/tests/behat/settings.feature similarity index 100% rename from mod/messages/tests/behat/settings.feature rename to src/addons/messages/tests/behat/settings.feature diff --git a/mod/assignment/tests/behat/app_basic_usage.feature b/src/addons/mod/assign/tests/behat/basic_usage.feature similarity index 100% rename from mod/assignment/tests/behat/app_basic_usage.feature rename to src/addons/mod/assign/tests/behat/basic_usage.feature diff --git a/mod/assignment/tests/behat/app_navigation.feature b/src/addons/mod/assign/tests/behat/navigation.feature similarity index 100% rename from mod/assignment/tests/behat/app_navigation.feature rename to src/addons/mod/assign/tests/behat/navigation.feature diff --git a/mod/chat/tests/behat/app_basic_usage.feature b/src/addons/mod/chat/tests/behat/basic_usage.feature similarity index 100% rename from mod/chat/tests/behat/app_basic_usage.feature rename to src/addons/mod/chat/tests/behat/basic_usage.feature diff --git a/mod/chat/tests/behat/app_navigation.feature b/src/addons/mod/chat/tests/behat/navigation.feature similarity index 100% rename from mod/chat/tests/behat/app_navigation.feature rename to src/addons/mod/chat/tests/behat/navigation.feature diff --git a/mod/choice/tests/behat/app_basic_usage.feature b/src/addons/mod/choice/tests/behat/basic_usage.feature similarity index 100% rename from mod/choice/tests/behat/app_basic_usage.feature rename to src/addons/mod/choice/tests/behat/basic_usage.feature diff --git a/mod/data/tests/behat/app_data_entries.feature b/src/addons/mod/data/tests/behat/data_entries.feature similarity index 100% rename from mod/data/tests/behat/app_data_entries.feature rename to src/addons/mod/data/tests/behat/data_entries.feature diff --git a/mod/data/tests/behat/app_data_sync.feature b/src/addons/mod/data/tests/behat/data_sync.feature similarity index 100% rename from mod/data/tests/behat/app_data_sync.feature rename to src/addons/mod/data/tests/behat/data_sync.feature diff --git a/mod/forum/tests/behat/app_basic_usage.feature b/src/addons/mod/forum/tests/behat/basic_usage.feature similarity index 100% rename from mod/forum/tests/behat/app_basic_usage.feature rename to src/addons/mod/forum/tests/behat/basic_usage.feature diff --git a/mod/forum/tests/behat/app_navigation.feature b/src/addons/mod/forum/tests/behat/navigation.feature similarity index 100% rename from mod/forum/tests/behat/app_navigation.feature rename to src/addons/mod/forum/tests/behat/navigation.feature diff --git a/mod/glossary/tests/behat/app_basic_usage.feature b/src/addons/mod/glossary/tests/behat/basic_usage.feature similarity index 100% rename from mod/glossary/tests/behat/app_basic_usage.feature rename to src/addons/mod/glossary/tests/behat/basic_usage.feature diff --git a/mod/glossary/tests/behat/app_navigation.feature b/src/addons/mod/glossary/tests/behat/navigation.feature similarity index 100% rename from mod/glossary/tests/behat/app_navigation.feature rename to src/addons/mod/glossary/tests/behat/navigation.feature diff --git a/mod/quiz/tests/behat/app_basic_usage.feature b/src/addons/mod/quiz/tests/behat/basic_usage.feature similarity index 100% rename from mod/quiz/tests/behat/app_basic_usage.feature rename to src/addons/mod/quiz/tests/behat/basic_usage.feature diff --git a/mod/quiz/tests/behat/app_quiz_navigation.feature b/src/addons/mod/quiz/tests/behat/quiz_navigation.feature similarity index 100% rename from mod/quiz/tests/behat/app_quiz_navigation.feature rename to src/addons/mod/quiz/tests/behat/quiz_navigation.feature diff --git a/mod/survey/tests/behat/app_basic_usage.feature b/src/addons/mod/survey/tests/behat/basic_usage.feature similarity index 100% rename from mod/survey/tests/behat/app_basic_usage.feature rename to src/addons/mod/survey/tests/behat/basic_usage.feature diff --git a/mod/comments/tests/behat/app_basic_usage.feature b/src/core/features/comments/tests/behat/basic_usage.feature similarity index 100% rename from mod/comments/tests/behat/app_basic_usage.feature rename to src/core/features/comments/tests/behat/basic_usage.feature diff --git a/mod/course/tests/behat/app_basic_usage.feature b/src/core/features/course/tests/behat/basic_usage.feature similarity index 100% rename from mod/course/tests/behat/app_basic_usage.feature rename to src/core/features/course/tests/behat/basic_usage.feature diff --git a/mod/course/tests/behat/app_course_completion.feature b/src/core/features/course/tests/behat/course_completion.feature similarity index 100% rename from mod/course/tests/behat/app_course_completion.feature rename to src/core/features/course/tests/behat/course_completion.feature diff --git a/mod/course/tests/behat/app_courselist.feature b/src/core/features/course/tests/behat/courselist.feature similarity index 100% rename from mod/course/tests/behat/app_courselist.feature rename to src/core/features/course/tests/behat/courselist.feature diff --git a/mod/courses/tests/behat/app_basic_usage.feature b/src/core/features/courses/tests/behat/basic_usage.feature similarity index 100% rename from mod/courses/tests/behat/app_basic_usage.feature rename to src/core/features/courses/tests/behat/basic_usage.feature diff --git a/mod/login/tests/behat/app_basic_usage.feature b/src/core/features/login/tests/behat/basic_usage.feature similarity index 100% rename from mod/login/tests/behat/app_basic_usage.feature rename to src/core/features/login/tests/behat/basic_usage.feature diff --git a/tests/behat/mainmenu.feature b/src/core/features/mainmenu/tests/behat/mainmenu.feature similarity index 100% rename from tests/behat/mainmenu.feature rename to src/core/features/mainmenu/tests/behat/mainmenu.feature diff --git a/tests/behat/settings_navigation.feature b/src/core/features/settings/tests/behat/settings_navigation.feature similarity index 100% rename from tests/behat/settings_navigation.feature rename to src/core/features/settings/tests/behat/settings_navigation.feature diff --git a/tests/behat/plugins.feature b/src/core/features/siteplugins/tests/behat/plugins.feature similarity index 100% rename from tests/behat/plugins.feature rename to src/core/features/siteplugins/tests/behat/plugins.feature diff --git a/tests/behat/usertours.feature b/src/core/features/usertours/tests/behat/usertours.feature similarity index 100% rename from tests/behat/usertours.feature rename to src/core/features/usertours/tests/behat/usertours.feature diff --git a/tests/behat/navigation_activities.feature b/src/tests/behat/navigation_activities.feature similarity index 100% rename from tests/behat/navigation_activities.feature rename to src/tests/behat/navigation_activities.feature diff --git a/tests/behat/navigation_deeplinks.feature b/src/tests/behat/navigation_deeplinks.feature similarity index 100% rename from tests/behat/navigation_deeplinks.feature rename to src/tests/behat/navigation_deeplinks.feature diff --git a/tests/behat/navigation_externallinks.feature b/src/tests/behat/navigation_externallinks.feature similarity index 100% rename from tests/behat/navigation_externallinks.feature rename to src/tests/behat/navigation_externallinks.feature diff --git a/tests/behat/navigation_gestures.feature b/src/tests/behat/navigation_gestures.feature similarity index 100% rename from tests/behat/navigation_gestures.feature rename to src/tests/behat/navigation_gestures.feature diff --git a/tests/behat/navigation_splitview.feature b/src/tests/behat/navigation_splitview.feature similarity index 100% rename from tests/behat/navigation_splitview.feature rename to src/tests/behat/navigation_splitview.feature