mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-39815 mod_glossary: Fixing behat test
This commit is contained in:
parent
cfba97e9a5
commit
3e6899989a
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ Feature: A teacher can choose whether to provide a printer-friendly glossary ent
|
||||||
| Concept | Just a test concept |
|
| Concept | Just a test concept |
|
||||||
| Definition | Concept definition |
|
| Definition | Concept definition |
|
||||||
Then "Printer-friendly version" "link" should exists
|
Then "Printer-friendly version" "link" should exists
|
||||||
And "//*[contains(concat(' ', @class, ' '), ' printicon ')]/descendant::a[contains(@href, 'print.php')]" "xpath_element" should exists
|
And "//*[contains(concat(' ', @class, ' '), ' printicon ')][contains(@href, 'print.php')]" "xpath_element" should exists
|
||||||
And I follow "Printer-friendly version"
|
And I follow "Printer-friendly version"
|
||||||
And I should see "Just a test concept"
|
And I should see "Just a test concept"
|
||||||
|
|
||||||
|
@ -51,4 +51,4 @@ Feature: A teacher can choose whether to provide a printer-friendly glossary ent
|
||||||
| Concept | Just a test concept |
|
| Concept | Just a test concept |
|
||||||
| Definition | Concept definition |
|
| Definition | Concept definition |
|
||||||
Then "Printer-friendly version" "link" should not exists
|
Then "Printer-friendly version" "link" should not exists
|
||||||
And "//*[contains(concat(' ', @class, ' '), ' printicon ')]/descendant::a[contains(@href, 'print.php')]" "xpath_element" should not exists
|
And "//*[contains(concat(' ', @class, ' '), ' printicon ')][contains(@href, 'print.php')]" "xpath_element" should not exists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue