Closed (fixed)
Project:
BOTCHA Spam Prevention
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2013 at 16:49 UTC
Updated:
25 Feb 2013 at 05:20 UTC
See parent issue: #1886982: [META] Make all Selenium tests passed.
--
If you are interested in getting this issue closed - please consider donating using PatchRanger service. Each donation - is in fact a bounty which developers will be rewarded with after fixing the issue. For more details see http://drupal.org/project/botcha#how-much-does-it-cost.
Comments
Comment #1
PatchRanger commentedMarking as postponed until somebody launches Selenium tests in Internet Explorer.
I don't have such opportunity, because I am on Linux.
It is not so hard, you just have to be on Windows. If you do - follow the instructions in Selenium's INSTALL.TXT.
Comment #2
iva2k commentedRunning IE tests on Windows has a problem #1913818: Selenium fails to find Internet Explorer on Windows to run test on. Patching the selenium module (one line change in #1) helps to get the tests going, but test fails:Message: Call to a member function sendKeys() on a non-objectGroup: PHP Fatal error
Filename: drupal_selenium_web_test_case.php
Line: 265
Tracing the code brings back to DrupalSeleniumWebTestCase::drupalLogin(), and IE windows is left in logged in state.Looks like IE may come up in already logged in state. I guess it is due to running IE tests on live site.
[UPDATE] It was recently fixed in selenium module 7.x-3.x-dev.
Comment #3
iva2k commentedFurther to #2...
I logged out in the IE window and re-run the test, only to find out that another module (that was enabled on the live site) steps in after login and screws up the test.
Just wondering, can the test disable all unrelated modules, or start from wiping out the database back to a virgin state...
Comment #4
iva2k commentedWith latest selenium module 7.x-3.x-dev and if all interfering modules that need to be disabled are turned off prior to running the test, the test passes: IE9 on Windows 7.
Comment #5
PatchRanger commentedYay! It's wonderful! You rock! Please report a successful launch to #1894478: The latest Selenium-tests launches & reports as well.
Also consider closing #1886982: [META] Make all Selenium tests passed together with #1867180: ObscureUrl Recipe breaks in IE7 on node add form and #1868686: Honeypot2 recipe uses trim() in a way that is not supported in IE7.