-
Bug
-
Resolution: Not a bug
-
Minor
-
None
-
3.4
-
None
-
MOODLE_34_STABLE
Running behat with PHP 7.2 RC5 I'm getting this feature file:
badges/tests/behat/award_badge.feature
Generating 2 unexpected alerts breaking tests twice (switching to PHP 7.1 makes them pass):
**************** [behatrun1] ****************
|
Moodle 3.4beta+ (Build: 20171101), c8e777776621b76f9b99ca40fe85ecade2afd33c
|
Php: 7.2.0.5, mariadb: 10.1.24, OS: Darwin 16.7.0 x86_64
|
Server OS "Darwin", Browser: "firefox"
|
Started at 02-11-2017, 09:23
|
............................F--.................................F----- 70
|
-
|
|
--- Pasos fallidos:
|
|
001 Scenario: Award badge on activity completion # /Users/stronk7/git_moodle/testing/badges/tests/behat/award_badge.feature:118
|
And I follow "Profile" in the user menu # /Users/stronk7/git_moodle/testing/badges/tests/behat/award_badge.feature:162
|
Unexpected modal dialog (text: An error occurred when attempting to save your tick mark.
|
|
(.)): An error occurred when attempting to save your tick mark.
|
|
(.)
|
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
|
System info: host: 'stronk7rmbp', ip: '10.10.10.10', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_31'
|
Driver info: org.openqa.selenium.firefox.FirefoxDriver
|
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=MAC, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
|
Session ID: 54b6d30e-b372-2640-a7cb-a342d020657c (WebDriver\Exception\UnexpectedAlertOpen)
|
|
002 Scenario: Award badge on course completion # /Users/stronk7/git_moodle/testing/badges/tests/behat/award_badge.feature:167
|
And I log out # /Users/stronk7/git_moodle/testing/badges/tests/behat/award_badge.feature:217
|
Unexpected modal dialog (text: An error occurred when attempting to save your tick mark.
|
|
(.)): An error occurred when attempting to save your tick mark.
|
|
(.)
|
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
|
System info: host: 'stronk7rmbp', ip: '10.10.10.10', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_31'
|
Driver info: org.openqa.selenium.firefox.FirefoxDriver
|
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=MAC, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
|
Session ID: 54b6d30e-b372-2640-a7cb-a342d020657c (WebDriver\Exception\UnexpectedAlertOpen)
|
|
2 escenarios (2 fallaron)
|
71 pasos (61 pasaron, 2 fallaron, 8 saltadas)
|
2m28.02s (47.64Mb)
|
Maybe it's my PHP 7.2 installation, just creating this for reporting and preventive measure.
Ciao
- has been marked as being related by
-
MDL-60663 The curious case of opcode cache breaking some tests...
- Closed