Ticket #3240 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

test_Handler_Box_draw fails

Reported by: erilem Owned by:
Priority: major Milestone: 2.11 Release
Component: tests Version: 2.10
Keywords: Cc:
State:

Description

As reported in #3239 test_Handler_Box_draw fails in FF

test_Handler_Box_draw test did not output anything ok 0 no plan
exception: : object: Not enough arguments

It also fails in IE8 for me actually.

Change History

follow-up: ↓ 2   Changed 2 years ago by erilem

Partially solved with [11862]. The test still fails in IE8 for me:

test_Handler_Box_draw planned 12 assertions but got 0; fail 0 ok 0
exception: : object: Invalid argument

This issue might be due to the hidden frame again. I really don't know.

in reply to: ↑ 1   Changed 2 years ago by erilem

Replying to erilem:

Partially solved with [11862]. The test still fails in IE8 for me: {{{ test_Handler_Box_draw planned 12 assertions but got 0; fail 0 ok 0 exception: : object: Invalid argument }}} This issue might be due to the hidden frame again. I really don't know.

The test eventually passes after several runs.

  Changed 2 years ago by erilem

I have a patch coming up for the IE8 issue.

  Changed 2 years ago by erilem

  • status changed from new to closed
  • resolution set to fixed

(In [11863]) fix test_Handler_Box_draw by using another method to check whether we can get computed dimensions of an element (closes #3240)

  Changed 2 years ago by erilem

Could someone run test_Handler_Box_draw in Safari and IE6, and report back please? Thank you.

  Changed 2 years ago by bartvde

Passes in IE6.

  Changed 2 years ago by bartvde

Also passes in Safari 5.

  Changed 2 years ago by jorix

Test ok: FF3.6.16, IE8, IE7 and IE6:

test_Handler_Box_draw ok 2
ok box result correct
ok box removed after endBox

Test ok: Chrome-10 and Safari-5:

test_Handler_Box_draw ok 12
ok x position of box correct
ok y position of box correct
ok x position of box still correct
ok y position of box still correct
ok x dimension of box correct
ok y dimension of box correct
ok new x position of box correct
ok new y position of box correct
ok x dimension of box still correct
ok y dimension of box still correct
ok box result correct
ok box removed after endBox
Note: See TracTickets for help on using tickets.