← Back to team overview

mahara-contributors team mailing list archive

[Bug 1425392] Re: Behat bug: Behat gets confused by the 2 different Groups in navigation

 

The problem is the xpath of menu "Groups" is not consistent to other
menu.

For example, the xpath of
- "Users" is //div[@id='main-nav']/ul[@id="nav"]/li/span/a[.="Users"]
- "Institutions" is //div[@id='main-nav']/ul[@id="nav"]/li/span/a[.="Institutions"]

while "Groups" is //div[@id='main-
nav']/ul[@id="nav"]/li//span/a/span[.="Groups"]

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

Title:
  Behat bug: Behat gets confused by the 2 different Groups in navigation

Status in Mahara ePortfolio:
  New

Bug description:
  Hi,

  I have a attached a broken Behat test. When it clicks on the first "Groups" heading in the navigation it works fine.
  eg "Find friends" in "Groups"

  Then it fails when it tries selecting "Archived submissions" in
  "Groups" .

  It doesn’t like the fact that there are 2 of them.  What way do we
  have to work around this?

  Thanks,
  Jinelle

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


References