Giter VIP home page Giter VIP logo

Comments (4)

adamgruber avatar adamgruber commented on May 18, 2024

Good idea and shouldn't be too hard to implement. Would also pave the way for an enhanced navigation or jump menu.

Question is how granular do you want it? Do you need to link directly to an individual test or just the parent suite? Or both?

from mochawesome.

billiegoose avatar billiegoose commented on May 18, 2024

I'd say both options. If you don't get around to it, I'll probably do it the next time it irks me. I accidentally did a deep dive in marky-markdown so now I know where to find code for "generating slugs" and "deep-linking".

Edit: https://github.com/Flet/github-slugger

from mochawesome.

adamgruber avatar adamgruber commented on May 18, 2024

I just published 1.4.0 which adds a nice nav menu. Let me know if this works for you. Also, each test suite and test has a unique ID that you can use as an anchor link. You'd have to grab it from the markup but it's there an will work. That's how the nav menu works.

from mochawesome.

billiegoose avatar billiegoose commented on May 18, 2024

Thaaaats a sweet nav menu. That works perfectly. (And no need to grab from the markup - can right-click and copy URL from nav links.)

Apologies for the delayed response. I'm just now getting around to closing all my open Issues.

from mochawesome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.