Commit Graph

87 Commits (dd9669a9559f986445e97ec5d26298bac9363402)

Author SHA1 Message Date
Pau Ferrer Ocaña eb0303d301 MOBILE-4061 behat: Merge import behat files from local-moodlemobileapp 2022-05-12 09:33:01 +02:00
Pau Ferrer Ocaña edbaa14423 Merge remote-tracking moodle-local_moodlemobileapp into MOBILE-4061 2022-05-12 09:31:55 +02:00
Pau Ferrer Ocaña e9c841077c MOBILE-4061 behat: Move behat to the module directory 2022-05-04 10:07:14 +02:00
Noel De Martin 87f972ccef MOBILE-3833: Wait for scrolling to finish 2022-03-30 17:34:53 +02:00
Noel De Martin 6d5858a232 MOBILE-3833 usertours: Fix tests for old versions 2022-03-17 10:49:24 +01:00
Noel De Martin b5d2c11c15 MOBILE-3833 behat: Fix config overrides on reload 2022-03-15 10:39:33 +01:00
Noel De Martin 994d1bb149 MOBILE-3833 behat: Document performance config 2022-03-15 10:38:10 +01:00
Dani Palou 0393487899 Merge pull request #73 from NoelDeMartin/MOBILE-3153
MOBILE-3153 behat: Test User Tours
2022-03-14 16:38:07 +01:00
Noel De Martin 82fa21f76b MOBILE-3153 behat: Test User Tours 2022-03-14 15:13:13 +01:00
Noel De Martin 9997217214 MOBILE-3833 behat: Delay verifying item selection
Before this fix it was happening too fast some times and giving false negatives
2022-03-14 14:49:50 +01:00
Noel De Martin 98d68ad6f2 MOBILE-3833 behat: Fix external link tests 2022-03-10 17:25:43 +01:00
Noel De Martin 7359114bf6 MOBILE-3833 behat: Fix pressElement helper
Behat runtime helpers cannot use async/await because asynchronous errors won't be returned to the php runtime
2022-03-10 17:25:05 +01:00
Noel De Martin fe2c4474a9 MOBILE-3833 behat: Wait for scroll before click 2022-03-10 15:14:44 +01:00
Noel De Martin bf8a8531ec MOBILE-3833 behat: Wait swipe animations to finish
This is necessary in order to avoid multiple gestures conflicting with each other.
2022-03-10 11:17:19 +01:00
Noel De Martin ecaaba732a MOBILE-3833 behat: Improve runtime debugging
Injecting the runtime instead of evaluating makes it possible to debug using dev tools
2022-03-10 11:16:37 +01:00
Pau Ferrer Ocaña 338258a4ad Fix broken behat tests 2022-02-23 11:18:53 +01:00
Pau Ferrer Ocaña 77c5418f0c Improve location of elements and containers 2022-02-23 11:18:53 +01:00
Noel De Martin 00f7cda5bf MOBILE-3954 behat: Update settings strings 2022-02-07 15:01:41 +01:00
Pau Ferrer Ocaña 1efc0c52b7 MOBILE-3954 behat: Adapt changes on storage manager 2022-02-04 09:31:57 +01:00
Noel De Martin c01a7b2727 Merge pull request #69 from dpalou/MOBILE-3833
MOBILE-3833 behat: Test custom URL that calls WS when logged out
2022-01-31 13:25:24 +01:00
Dani Palou 8c0d9042b2 MOBILE-3833 behat: Test custom URL that calls WS when logged out 2022-01-31 13:12:36 +01:00
Noel De Martin 5a68dc1f16 MOBILE-3833 behat: Fix grades tests 2022-01-27 11:04:26 +01:00
Noel De Martin 82fdde0482 MOBILE-3833 behat: Improve loading more items
Without using a smooth scroll, the scroll jumps straight to the loader and sometimes it makes tests fail. Using smooth scrolling is closer to what a user would do and it fixes this problem.
2022-01-25 17:39:01 +01:00
Noel De Martin e8aaf2c158 MOBILE-3833 behat: Update strings 2022-01-25 17:36:36 +01:00
Noel De Martin 1d8f0c5a66 MOBILE-3971 core: Track database query performance 2022-01-24 18:00:27 +01:00
Dani Palou fefaa6436f Merge pull request #60 from NoelDeMartin/MOBILE-3833
MOBILE-3833: Test chat and settings navigation
2022-01-17 14:43:36 +01:00
Noel De Martin bf2ae1ece7 MOBILE-3934 behat: Implement `within` locator 2022-01-13 16:07:39 +01:00
Dani Palou e37011b0de MOBILE-3922 mainmenu: Test that the right page is loaded 2022-01-13 13:20:52 +01:00
Noel De Martin 21230f733f MOBILE-3833 settings: Test navigation 2022-01-12 16:34:55 +01:00
Pau Ferrer Ocaña 5b6baee1ae MOBILE-3833 swipe: Change swipe to directive 2022-01-10 14:41:28 +01:00
Noel De Martin 4452bd5875 MOBILE-3833 behat: Simplify entering the app 2021-12-20 17:35:26 +01:00
Noel De Martin aa9b943e05 MOBILE-3926 behat: Improve enter course step 2021-12-20 14:34:38 +01:00
Noel De Martin 771b4039e6 MOBILE-3926 behat: Implement load items step 2021-12-20 14:34:38 +01:00
Noel De Martin 89488bd71a MOBILE-3926 behat: Implement scroll to step 2021-12-01 16:34:12 +01:00
Noel De Martin 9724088a87 MOBILE-3926 behat: Add split-view scoping to find 2021-12-01 16:34:12 +01:00
Pau Ferrer Ocaña 8e86fbd924 MOBILE-3833 behat: Adapt performance tests 2021-11-30 12:49:12 +01:00
Pau Ferrer Ocaña fd07b41696 MOBILE-3806 courses: Use My courses tab to access courses 2021-11-29 13:08:07 +01:00
Pau Ferrer Ocaña 1c59cd2700 MOBILE-3806 courseoverview: Fix filter courses 2021-11-29 12:23:00 +01:00
Pau Ferrer Ocaña bff6969d50 MOBILE-3806 mainmenu: Fix more menu button search 2021-11-29 10:33:23 +01:00
Pau Ferrer Ocaña 40252a6ed6 MOBILE-3810 behat: Change accounts and main menu to user and more menu 2021-11-24 17:00:58 +01:00
Pau Ferrer Ocaña e1f89c9eab MOBILE-3810 behat: Improve get header selector to adapt new titles 2021-11-24 17:00:58 +01:00
Pau Ferrer Ocaña fc96a23e8a MOBILE-3810 behat: Remove legacy code 2021-11-24 17:00:58 +01:00
Dani Palou 22a589ec9d Merge pull request #48 from NoelDeMartin/MOBILE-3905
MOBILE-3905: Swipe navigation tests
2021-11-15 10:12:09 +01:00
Noel De Martin 1ead9612a3 MOBILE-3905 behat: Test swipe navigation 2021-11-15 10:05:10 +01:00
Mark Johnson 2aed85bb13 Remove XHR from pending JS on exception 2021-11-10 16:41:42 +01:00
Pau Ferrer Ocaña ec008a9e1e MOBILE-3807: Adapt tests to new account menu 2021-11-03 13:09:40 +01:00
Noel De Martin ae1f9e578a MOBILE-3898 behat: Remove generic transformers 2021-10-21 10:53:08 +02:00
Noel De Martin f17a2023f4 MOBILE-1804 performance: Measure login & open 2021-10-19 17:51:14 +02:00
Dani Palou 421c5b282a MOBILE-3726 behat: Add tests for external links 2021-10-13 15:43:38 +02:00
Noel De Martin 3b5d57e02b MOBILE-3833 behat: use ngZone
Using changeDetector caused some flaky tests throwing errors trying to use undefined variables. ngZone seems to work better.
2021-10-04 17:40:44 +02:00