Skip to content

Commit

Permalink
Rename block test
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Oct 7, 2024
1 parent d44551d commit 1f1b6ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@ jobs:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
moodle-branch: ['MOODLE_402_STABLE', 'MOODLE_403_STABLE', 'MOODLE_404_STABLE', 'MOODLE_405_STABLE', 'main']
moodle-branch: ['MOODLE_403_STABLE', 'MOODLE_404_STABLE', 'MOODLE_405_STABLE', 'main']
database: [pgsql, mariadb]
exclude:
- {moodle-branch: 'MOODLE_402_STABLE', php: '8.3', database: 'pgsql'}
- {moodle-branch: 'MOODLE_402_STABLE', php: '8.3', database: 'mariadb'}
- {moodle-branch: 'MOODLE_403_STABLE', php: '8.3', database: 'pgsql'}
- {moodle-branch: 'MOODLE_403_STABLE', php: '8.3', database: 'mariadb'}
- {moodle-branch: 'MOODLE_404_STABLE', php: '8.0', database: 'pgsql'}
Expand Down
6 changes: 3 additions & 3 deletions tests/behat/manager.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ Feature: An admin can manage RSS feeds sitewide
Scenario: An admin views a report
And I log in as "jgrimm"
And I am on "Grimm's Fairy Tales" course homepage with editing mode on
And I add the "Remote RSS feeds..." block
And I add the "RSS feeds..." block
And I follow "Add/edit feeds"
And I press "Add a new feed"
And I set the following fields to these values:
| url | https://docs.moodle.org/401/en/Main_page |
| preferredtitle | Feed 1 |
And I press "Add a new feed"
And I am on "Grimm's Fairy Tales" course homepage
And I add the "Remote RSS feeds..." block
And I add the "RSS feeds..." block
And I set the following fields to these values:
| config_title | News from Moodle |
| config_rssid[] | Feed 1 |
When I press "Save changes"
Then I should see "News from Moodle"
Given I am on "Grimm's Dictionary" course homepage
And I add the "Remote RSS feeds..." block
And I add the "RSS feeds..." block
And I set the following fields to these values:
| config_title | News from Moodle |
| config_rssid[] | Feed 1 |
Expand Down

0 comments on commit 1f1b6ba

Please sign in to comment.