HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/iestorre/moodleAW/moodle04/admin/tool/behat/tests/behat/list_steps.feature
@tool @tool_behat
Feature: List the system steps definitions
  In order to create new tests
  As a tests writer
  I need to list and filter the system steps definitions

  Background:
    Given I am on homepage
    And I log in as "admin"
    And I navigate to "Acceptance testing" node in "Site administration > Development"

  @javascript
  Scenario: Accessing the list
    Then I should see "Steps definitions"
    And I should not see "There aren't steps definitions matching this filter"

  @javascript
  Scenario: Filtering by type
    Given I select "Then. Checkings to ensure the outcomes are the expected ones" from "Type"
    When I press "Filter"
    Then I should see "Checks, that page contains specified text."
    And I should not see "Opens Moodle homepage."

  @javascript
  Scenario: Filtering by keyword
    Given I fill in "Contains" with "homepage"
    When I press "Filter"
    Then I should see "Opens Moodle homepage."