If you go to a forum page, such as forum/22, you should see a navigational breadcrumb telling you are inside Support forums, and you should see a link that lets you add a new forum topic (the wording of the link will be slightly different in D7).

Comments

eliza411’s picture

Component: Tests » Environment setup
Status: Postponed » Active

Not sure why this was postponed. Marking active.

eliza411’s picture

Title: Forum breadcrumb navigation » Forum breadcrumb navigation (forum_breadcrumb.feature)
Component: Environment setup » Step definitions
Status: Active » Needs work

I've add a feature file for this. It needs a step definition corresponding to:

  /**
   * @Then /^I should see the breadcrumb "([^"]*)"$/
   */
  public function iShouldSeeTheBreadcrumb($breadcrumb) {
    throw new PendingException();
  }
sachin2dhoni’s picture

Assigned: Unassigned » sachin2dhoni

Taking this up.

sachin2dhoni’s picture

Status: Needs work » Needs review
Issue tags: +sprint 10

Uploaded to dev branch.

Please check the commit log:f36477a

eliza411’s picture

Assigned: sachin2dhoni » jhedstrom

The step definition was already stubbed into the FeatureContext.php file. I did that per jhedstrom's request when writing feature files with unimplemented steps, so I removed that. Looks great! Merged into master

  [Behat\Behat\Exception\RedundantException]                                                                        
  Step "/^I should see the breadcrumb "([^"]*)"$/" is already defined in FeatureContext::iShouldSeeTheBreadcrumb()  
                                                                                                                    
  FeatureContext::iShouldSeeTheBreadcrumb()                                                                         
  FeatureContext::checkBreadcrumb()   
eliza411’s picture

Status: Needs review » Reviewed & tested by the community

should be marked rtbc

tvn’s picture

Version: » 6.x-1.x-dev
Issue tags: +forums
pradeeprkara’s picture

Issue tags: +sprint 17

This is ported to 7.x.

tvn’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

These pass for me on D7.

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