Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07238ca
)
MDL-69421 behat: Revert app behat navigation to call session visit
author
Noel De Martin
<noel@moodle.com>
Thu, 6 Aug 2020 10:08:43 +0000
(12:08 +0200)
committer
Noel De Martin
<noel@moodle.com>
Thu, 6 Aug 2020 10:08:43 +0000
(12:08 +0200)
lib/tests/behat/behat_app.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/tests/behat/behat_app.php
b/lib/tests/behat/behat_app.php
index
ce9f392
..
e474ffc
100644
(file)
--- a/
lib/tests/behat/behat_app.php
+++ b/
lib/tests/behat/behat_app.php
@@
-283,7
+283,7
@@
class behat_app extends behat_base {
global $CFG;
// Visit the Ionic URL and wait for it to load.
- $this->
execute('behat_general::i_visit', [$url]
);
+ $this->
getSession()->visit($url
);
$this->spin(
function($context, $args) {
$title = $context->getSession()->getPage()->find('xpath', '//title');