← Back to team overview

mahara-contributors team mailing list archive

[Bug 1889020] Re: Behat failing tests when trying to add blocks on pages

 

** Changed in: mahara
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1889020

Title:
  Behat failing tests when trying to add blocks on pages

Status in Mahara:
  Fix Committed

Bug description:
  There are a few behat tests that fail, so far I've seen
  edit_default_template_pages.feature
  group_view_block.feature
  shared_with_group.feature

  They try to add a block but the modal is never opened and then the
  tests fails trying to select a blocktype from a modal that is not
  visible.

  By looking into the Network tab of the browser while running the
  tests, I could see that there are too many calls to
  view/blocks.json.php taking a long time to run. This could be delaying
  the modal load, but we would need to look into this a bit more.

  The calls have parameters like
  id: 2
  change: 1
  action_moveblockinstance_id_6_newx_0_newy_0_newheight_8_newwidth_6: true

  so they're just trying to resize or move the blocks inside the page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1889020/+subscriptions


References