Vmeda.Online/src/core/tests/behat/runtime.feature
Noel De Martin bb6ed65c88 MOBILE-4496 behat: Update tags
Tags have been changed to reflect the namespace in the app folder structure, rather than trying to find an equivalent in the LMS codebase
2024-01-31 11:35:09 +01:00

18 lines
613 B
Gherkin

@core @app @javascript
Feature: It has a Behat runtime with testing helpers.
Background:
Given the following "users" exist:
| username |
| student1 |
Scenario: Finds and presses elements
Given I entered the app as "student1"
And I press "Search courses" in the app
When I set the following fields to these values in the app:
| Search | Foo bar |
Then I should find "Search" "button" in the app
And I should find "Clear search" in the app
And I should be able to press "Search" "button" in the app
But I should not be able to press "Clear search" in the app