Part of #1849182: [META] Add Selenium tests for JavaScript recipes full test coverage.

  • Add "tests" directory to the repository.
  • Add "simpletest" directory to the "tests".
  • Move "botcha.test" to "simpletest", edit botcha.info to match this change
  • Add "selenium" directory to the "tests".
  • Create Selenium test cases for all browsers.

--
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

PatchRanger’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Active » Needs review
StatusFileSize
new16.16 KB

Implemented for Firefox, Google Chrome, Opera and IE.
Tested with no errors for Firefox and Google Chrome.
Tested and failed for Opera (hoorah, it works!).
Not tested for IE due to difficulty of installation (I am on Ubuntu).

Status: Needs review » Needs work

The last submitted patch, botcha-create_selenium_tests-1857740-1.patch, failed testing.

PatchRanger’s picture

Status: Needs work » Needs review

Weird, it should enable moopapi module.
Let's retest.

PatchRanger’s picture

Status: Needs review » Needs work

The last submitted patch, botcha-create_selenium_tests-1857740-1.patch, failed testing.

PatchRanger’s picture

Status: Needs work » Needs review
StatusFileSize
new16.17 KB

Status: Needs review » Needs work

The last submitted patch, botcha-create_selenium_tests-1857740-6.patch, failed testing.

PatchRanger’s picture

Version: 7.x-3.x-dev » 6.x-2.x-dev
Status: Needs work » Patch (to be ported)
PatchRanger’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
Status: Patch (to be ported) » Needs review
StatusFileSize
new1.02 KB

Debugging the latest commit.

Status: Needs review » Needs work

The last submitted patch, botcha-create_selenium_tests-1857740-9.patch, failed testing.

PatchRanger’s picture

Version: 7.x-3.x-dev » 6.x-2.x-dev
Status: Needs work » Patch (to be ported)
PatchRanger’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

The most of the progress has been already done in http://drupalcode.org/project/botcha.git/commit/ee42ab5 for #1857738: Implement logging infrastructure. To get it fixed we need a Selenium D6 port first: #1185150: Drupal 6 port.

PatchRanger’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Patch (to be ported) » Needs review
StatusFileSize
new12.86 KB

Opera and IE turned from ugly workaround to just particular use case - now Selenium could run on original site: #1874076: Let testing on original site for drivers that don't support Agent headers setting.

PatchRanger’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)
PatchRanger’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added suffix.