Skip to content

Commit

Permalink
Release for Moodle 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Jan 20, 2017
1 parent ba95c2a commit fc5f30f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
moodle-format_flexsections
==========================

Version 3.2.0
-------------

- Release for Moodle 3.2 with passing behat tests and CSS adjustments for Boost theme

Version 2.8.4
-------------

Expand Down
4 changes: 4 additions & 0 deletions styles_boost.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.format-flexsections .course-content ul.flexsections li.section:target {
padding-top: 0 !important; /* stylelint-disable declaration-no-important */
margin-top: 3px !important; /* stylelint-disable declaration-no-important */
}
15 changes: 9 additions & 6 deletions tests/behat/basic_actions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ Feature: Using course in flexsections format

@javascript
Scenario: Collapsing section in flexsections format
Given I click on "Actions" "link" in the "Recent activity" "block"
Given I add the "Navigation" block if not present
And I open the "Recent activity" blocks action menu
And I click on "Delete Recent activity block" "link"
And I press "Yes"
When I click on "Show collapsed" "link" in the "li#section-2" "css_element"
Expand All @@ -96,10 +97,11 @@ Feature: Using course in flexsections format

@javascript
Scenario: Collapsing section with subsections in flexsections format
Given I click on "Actions" "link" in the "Recent activity" "block"
Given I add the "Navigation" block if not present
And I open the "Recent activity" blocks action menu
And I click on "Delete Recent activity block" "link"
And I press "Yes"
Given I click on "Actions" "link" in the "Upcoming events" "block"
And I open the "Upcoming events" blocks action menu
And I click on "Delete Upcoming events block" "link"
And I press "Yes"
When I click on "Show collapsed" "link" in the "li#section-1" "css_element"
Expand All @@ -121,12 +123,13 @@ Feature: Using course in flexsections format
And I expand "Topic 2" node
And I should see "Second module" in the "Navigation" "block"

@javascript
@javascript @xxx
Scenario: Merging subsection in flexsections format
Given I click on "Actions" "link" in the "Recent activity" "block"
Given I add the "Navigation" block if not present
And I open the "Recent activity" blocks action menu
And I click on "Delete Recent activity block" "link"
And I press "Yes"
Given I click on "Actions" "link" in the "Upcoming events" "block"
Given I open the "Upcoming events" blocks action menu
And I click on "Delete Upcoming events block" "link"
And I press "Yes"
When I click on "Merge with parent" "link" in the "li#section-2" "css_element"
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

defined('MOODLE_INTERNAL') || die;

$plugin->version = 2016040500; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2014111000; // Requires this Moodle version
$plugin->release = "2.8.4";
$plugin->version = 2017012000; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2016120500; // Requires this Moodle version
$plugin->release = "3.2.0";
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'format_flexsections'; // Full name of the plugin (used for diagnostics).

0 comments on commit fc5f30f

Please sign in to comment.