Goal: 
Document the steps to reproduce a reported issue so a developer can work to fix it.
Detailed steps: 
  1. Set up prerequisites: Log in, and either be ready to set up an Online testing site, or else have a Local development site set up, from Common Prerequisites for Contributors.
  2. Find issues for a project and identify one that needs detailed steps to be added.
    1. First, try using the advanced search for issues in that queue with Needs steps to reproduce as an issue tag.
    2. If there are none in that project, find an open issue that is of category "bug report", status "active", "needs work", or "needs review", and in the Drupal version you are using (Drupal 9.x, 8.x, etc.).
    3. Check whether there are already clear, detailed steps to reproduce listed in the issue summary. If there are, choose a different issue.
  3. Read the issue and look for an explanation of what the bug is and how to reproduce it.
  4. Create an online testing site to verify the bug -- see the "Using online Drupal testing sites" section of the Setting up a test environment page. In the Project field, select the project you are testing (Drupal Core or the contributed module, theme, or distribution). For the version, select the latest development branch that the issue applies to. (Branches are listed at the bottom of the version list, and end with ".x".)
  5. Your goal now is to reproduce the issue on your test site and document the steps exactly.
    1. If you are able to reproduce the issue, post the exact steps that you took in the main issue summary, making it easy for other users to modify them if necessary. Use a numbered list (<ol> tag) and short, precise instructions. Include an explanation in the comment about what you changed in the summary (e.g., "Added steps to reproduce to the summary.").
    2. If you cannot reproduce the issue, instead document the exact steps you took in a comment with a note that they are not sufficient to reproduce it.
  6. Remove the "Needs steps to reproduce" tag and save your comment.

Example steps to reproduce for a Drupal core issue:

  1. Install the latest Drupal 9.x using the standard profile.
  2. Create a custom menu called Custom at admin/structure/menu/add.
  3. Create two page nodes, Foo and Bar.
  4. Go to admin/structure/menu/manage/menu-custom/add and add the nodes to the custom menu with Bar as a child of Foo.
  5. Go to admin/structure/block and put the menu block for the custom menu in a sidebar.
  6. Click on Foo. The menu item for Bar is not displayed.
  7. Visit Bar. The menu item for Foo is not active or expanded.