Andrew Nicols
a6b8fc7830
MDL-55609 assignfeedback_comments: Remove shared setUp
2018-06-01 07:30:32 +08:00
Adrian Greeve
f8650bb7a3
MDL-61308 assign_feedback: Privacy code for user rights.
2018-04-26 14:17:55 +08:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Andrew Nicols
3bd0d4397c
MDL-55528 assignfeedback_editpdf: Add step to check all pages loaded
2017-03-10 10:45:46 +08:00
David Monllao
ab1058247c
MDL-56122 editpdf: Fix ghostscript checking
2017-02-14 13:45:21 +01:00
Tony Butler
63a117dcb2
MDL-56122 assignfeedback_editpdf: Add test assertions for pdf generation
2017-02-13 17:27:24 +00:00
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors
2017-01-03 09:12:54 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
Rajesh Taneja
9eb8f6ec56
MDL-57168 behat: Don't press continue as it will go to Annotate PDF
...
This might cause random failures as the draft files are being accessed by other user
2016-11-29 10:53:02 +08:00
Rajesh Taneja
d514d25e0a
MDL-56630 behat: Click on link in specificed block/region
2016-11-09 13:56:49 +08:00
Damyon Wiese
ba5c5083c5
MDL-55074 theme_boost: Behat fixes for latest theme changes
...
Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items
2016-10-21 16:06:54 +08:00
Damyon Wiese
f5ba9ac995
MDL-45969 editpdf: The logic for showing a previous attempt is wrong
...
It originally was only ever going to show static pdfs for older versions,
but this doesn't make sense in the UI for 3.1.
2016-09-30 13:15:00 +08:00
Rajesh Taneja
fba0ac63b8
MDL-54589 behat: Added hack for some OS/browsers
2016-06-20 16:03:36 +08:00
Adrian Greeve
1beb95af48
MDL-53601 mod_assign: Behat test for group feedback.
2016-05-02 15:54:53 +08:00
Damyon Wiese
bb690849c9
MDL-52954 assign: Rebuild the assignment single grade page.
2016-03-30 13:47:21 +08:00
Rajesh Taneja
e01012e96d
MDL-46891 behat: Driver specific fixes.
...
1. Browserkit doesn't handle [] in name
2. Grades are not visible in viewport and might fail
with few drivers, increasing size of window to ensure
grades are visible and can be modified.
3. Click edit first to see grade link
4. Expand fields before setting value
5. Updated xpath, as crawler update it.
6. Hover fails to show icon
2016-03-11 10:51:16 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
David Monllao
b97356f215
MDL-52397 behat: Another behat fix, there is no student2 grade
2016-03-02 11:03:01 +08:00
Andrew Nicols
37f39924b5
Merge branch 'MDL-52397_fix-behat' of git://github.com/dmonllao/moodle
2016-03-01 14:35:54 +08:00
David Monllao
2a03c5fe06
MDL-52397 mod_assign: Fix behat test
2016-03-01 14:29:27 +08:00
David Monllao
4edd8e773d
MDL-52397 editpdf: Fix draft vs nondraft comparison
...
We can not rely on the db engine returning results in the same order
if no order is specified in get_comments and get_annotations.
Also fixing a related unit test.
2016-03-01 12:29:13 +08:00
Adrian Greeve
50c734e8a5
MDL-52397 mod_assign: Unit tests for feedback plugins.
...
Testing that the new method is_feedback_modified() works
as it should with the standard plugins.
2016-02-24 15:09:27 +08:00
Rajesh Taneja
380ab95f20
MDL-52839 behat: Fixed xpath and wait to ensure element is visible
2016-01-21 15:50:44 +08:00
Davo Smith
0d5a260ecd
MDL-52290 assignfeedback_editpdf: show number of pages in page select
2016-01-05 10:01:45 +00:00
Rajesh Taneja
f84a0d49c1
MDL-50154 behat: Resize pdf window so toolbar is always visible
2015-05-08 11:17:39 +08:00
Eloy Lafuente (stronk7)
095ecde727
MDL-49998 unit tests: files left open are our fault.
...
Get rid of the gc_collect_cycles() that only was
hiding incorrectly left open files. This must be fixed
in code when possible. And pdf libs allow us to do so.
Note that a lot of gc_collect_cycles() were added
in MDL-47675, I'd recommend to take a look to all them,
being replaced by fixes in code when possible.
2015-04-28 19:46:50 +02:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Rajesh Taneja
bf38226162
MDL-49708 behat: Resize window back to default
...
Leaving window size to large fails in chrome
Reset it to default size works to ensure stamp
is visible by selenium driver
2015-03-30 17:29:33 +08:00
Rajesh Taneja
56159e91d7
MDL-49445 behat: Change selector as underline tr has same string
2015-03-19 12:24:49 +01:00
David Monllao
e967111644
MDL-48682 behat: Changing window size on specific tests
2015-03-06 11:02:45 +08:00
Andrew Nicols
9b65a08095
MDL-47475 mod_assign: Copy files to other group members for editpdf
2014-12-15 08:50:31 +08:00
Frederic Massart
47ff1cd93b
MDL-47397 assignfeedback_editpdf: Tests use reliable way to annotate PDF
...
The drag and drop step did not work, so we moved to using the stamps
to annotate the PDF. They do not rely on drag&drop and produce the same
effects.
2014-10-24 15:09:06 +01:00
Adrian Greeve
c42d18183a
MDL-47675 phpunit: Update unit tests to pass on MSSQL
...
Unit tests were failing on MSSQL. gc_collect_cycles() was
removed from the phpunit utils.php file to save time in running
the tests, but MSSQL doesn't clean up open files as well as
other databases.
This patch includes the garbage collection for the unit tests
that require it.
2014-10-20 14:26:11 +08:00
Damyon Wiese
506df250af
MDL-44304 assignfeedback_editpdf: Behat test for group submissions
2014-08-21 12:09:22 +08:00
Marina Glancy
ef3bffdec4
MDL-42025 behat: changed behat tag _only_local to _file_upload
2014-03-19 21:22:24 +01:00
Marina Glancy
7019e15e60
MDL-42025 behat: renamed deprecated method
2014-03-18 17:15:36 +08:00
Jerome Mouneyrac
9e103d6e15
MDL-42025 assignfeedback_editpdf: add behat tests
2014-03-18 17:14:31 +08:00
Rajesh Taneja
9dbe0313ce
MDL-42222 Assignment: Added type check before checking mimetype
...
Online submission type pass string in files, so added check
to see if file is of type stored_file then check mimetype
2013-10-09 16:53:46 +08:00
Damyon Wiese
5c3864723a
MDL-42023 assign: Edit PDF plugin - Damyon's contributions
2013-10-03 09:30:32 +08:00