Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andreyjan created an issue. See original summary.

andreyjan’s picture

Status: Active » Needs review
FileSize
12.64 KB

And the patch ...

andreyjan’s picture

Status: Needs review » Needs work
phenaproxima’s picture

Status: Needs work » Needs review
FileSize
11.52 KB

Turns out that two of the three tests can be converted to plain browser tests, rather than JavaScript tests. This patch converts those two; I'll tackle the test that does need JavaScript in a subsequent patch.

phenaproxima’s picture

FileSize
21.62 KB

Okay, that was kind of a dopey error :) I guess I'll convert the JavaScript test now! :)

phenaproxima’s picture

Title: Convert SimpleTest tests to FunctionalJavascript » Convert SimpleTest tests to PHPUnit

Re-titling for accuracy.

phenaproxima’s picture

FileSize
21.64 KB

Whoops, forgot to remove an assertResponse() call.

phenaproxima’s picture

FileSize
21.55 KB

And, converting some assertText() and assertNoText() calls to their JsWebAssert equivalents.

phenaproxima’s picture

FileSize
21.61 KB

Added a missing drupalGet() call.

Dave Reid’s picture

Status: Needs review » Reviewed & tested by the community

Looks good and passes, nice work, thank you!

  • Dave Reid committed efe457b on 8.x-1.x authored by phenaproxima
    Issue #3096857 by phenaproxima, andreyjan: Converted SimpleTest tests to...
Dave Reid’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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