MDL-40392 Navigation -> my courses listing tests
commitdc50d26267a44c6f2aecf0d8af8d270c8ee60516
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 30 Jun 2013 18:10:11 +0000 (30 20:10 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 4 Jul 2013 11:51:48 +0000 (4 13:51 +0200)
tree8138417e9e98d62cde1fc61c19f6e5992e34fee7
parent4c6f1ec52ec995a1f229c65e508e588dd1a5d357
MDL-40392 Navigation -> my courses listing tests

This introduces some behat tests to verify that
the display of enrolled courses in the navigation
block works as expected, both when a plain list
or a nested list is configured.

Personally I'm not happy with the way to select
expected text via css element. I'd love to see
something in an higher level like

I should see the text|link "xxxxx" in the "yyyy" "element"

with element being "block, header, footer, main...."

But that's another issue.
blocks/navigation/tests/behat/view_my_courses.feature [new file with mode: 0644]