Skip to content

Commit

Permalink
Update the source.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasanthlmsace committed Nov 14, 2024
1 parent 6d93e22 commit c0354cb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
- php: '8.2'
moodle-branch: 'MOODLE_405_STABLE'
database: 'pgsql'
# - php: '8.1'
# moodle-branch: 'MOODLE_404_STABLE'
# database: 'mariadb'
# - php: '8.0'
# moodle-branch: 'MOODLE_403_STABLE'
# database: 'pgsql'
- php: '8.1'
moodle-branch: 'MOODLE_404_STABLE'
database: 'mariadb'
- php: '8.0'
moodle-branch: 'MOODLE_403_STABLE'
database: 'pgsql'
- php: '7.4'
moodle-branch: 'MOODLE_401_STABLE'
database: 'mariadb'
Expand Down
3 changes: 3 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

require_once($CFG->dirroot. '/course/format/lib.php');


use format_kickstart\output\course_template_list;

/**
* Main class for the Kickstart course format
*
Expand Down
5 changes: 3 additions & 2 deletions tests/behat/format_kickstart_visibility.feature
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Feature: Check the kickstart course format features.
And I click on "Import" "button" in the ".modal" "css_element"
And I start watching to see if a new page loads
Then I should see "Course 1"
Then I wait "5" seconds
Then ".course-content .topics" "css_element" should exist
And I navigate to "Plugins > Course formats > Manage templates" in site administration
# TODo:
Expand All @@ -167,8 +168,8 @@ Feature: Check the kickstart course format features.
Then I am on "Course 1" course homepage
#Then I wait "5" seconds
# Todo:
And I click kickstart template ".use-template[data-templatename=\"Custom sections\"]"
#Then I click on ".template-list .card-deck .card:nth-child(2) .card-footer a" "css_element"
#And I click kickstart template ".use-template[data-templatename=\"Custom sections\"]"
Then I click on ".template-list .card-deck .card:nth-child(2) .card-footer a" "css_element"
And I click on "Import" "button" in the ".modal" "css_element"
And I start watching to see if a new page loads
Then I should see "Course 1"
Expand Down

0 comments on commit c0354cb

Please sign in to comment.