DEV Community

Cover image for Webship-js: Then the "item" link should contain "url"
webship.co
webship.co

Posted on

2

Webship-js: Then the "item" link should contain "url"

In website testing, every detail matters. One small broken link can damage trust and user experience. That’s why checking if important links, like social media icons, lead to the right place is a vital step. This kind of step ensures that users are never left wondering or lost.

One of the key steps in automated functional acceptance testing is verifying that each link leads where it should. In this article, we’ll focus on the step:

Then the "item" link should contain "url"

This definition step ensures that the the href attribute of a link element includes a URL or part of a URL, with the element located using its link text.

Example:
Then the "Login" link should contain "/log-in"

See the full article:https://webship.co/blog/webship-js-then-item-link-should-contain-url
You can see more step definitions: https://webship.co/docs

Top comments (0)

Tiger Data image

🐯 🚀 Timescale is now TigerData: Building the Modern PostgreSQL for the Analytical and Agentic Era

We’ve quietly evolved from a time-series database into the modern PostgreSQL for today’s and tomorrow’s computing, built for performance, scale, and the agentic future.

So we’re changing our name: from Timescale to TigerData. Not to change who we are, but to reflect who we’ve become. TigerData is bold, fast, and built to power the next era of software.

Read more

👋 Kindness is contagious

Discover fresh viewpoints in this insightful post, supported by our vibrant DEV Community. Every developer’s experience matters—add your thoughts and help us grow together.

A simple “thank you” can uplift the author and spark new discussions—leave yours below!

On DEV, knowledge-sharing connects us and drives innovation. Found this useful? A quick note of appreciation makes a real impact.

Okay