Operations | Monitoring | ITSM | DevOps | Cloud

Testing

The latest News and Information on Software Testing and related technologies.

How to Speed up your Playwright Tests with shared "storageState"

Join Stefan Judis, Playwright Ambassador, as he shows you how to speed up your Playwright test suite execution time for apps behind a login. Usually, login-walled products require you to log in for every test case. However, by implementing project dependencies, setting up a project, and pairing everything with the storage state, you can log into your app once and then reuse the browser and storage state. This setup equips your subsequent tests with essential cookies and browser state, saving time and effort by avoiding repetitive login actions.

How to Speed up your Playwright Tests with shared "storageState"

What are the two things making your end-to-end test investment a failure? Firstly, it's test flakiness. If you've invested days (if not months) in creating your test suite and it didn't turn out to be like this one trustworthy friend you have in your life for decades, you failed. You failed because eventually, you'll discover that every moment waiting for retrying tests became a burden.

Best 9 Test Management Platforms for 2024

Software development knows how crucial a solid test management platform can be. It's like having a trusty sidekick that catches all those pesky bugs, and your updates are as smooth as butter. As 2024 approaches, it's not just about the flashiest features; it's about snagging a platform that fits like a glove with your team's dynamics, integrates effortlessly with the tools you love, and brings something new to the table with fresh, innovative features.

The risks - and rewards - of using production data for testing

Data, and the way enterprises use data in areas like development and testing, has not traditionally been a focus for business leaders but that’s now changing. Data is more varied and complicated than ever before, for example, with enterprises using two or more different database platforms – and 40% using four or more. It’s also spread wider and further, with enterprises hosting their databases in a combination of cloud and on-premises infrastructures.

Top 5 WireMock Alternatives

WireMock is a popular open source tool for simulating APIs in testing environments through the wiremock server in the wiremock cloud. It allows developers to stub HTTP responses, match requests by URL, headers, and body content, record and play back API interactions, and add configurable delays and errors. Initially created for Java, WireMock now supports multiple programming languages and technology stacks, making it a favorite among developers for its flexibility and ease of use.

How to add Type Checking and Linting to your Playwright Project

If you bet on end-to-end testing or even synthetic monitoring, there’s a high chance that you use Microsoft's Playwright. And if you have Playwright in your toolchain, you probably adopted TypeScript, too. It's an easy choice because of its rock-solid auto-completion and type safety. With this setup, you can enjoy the beautiful DX (developer experience) and safely refactor your ever-growing code base without worrying about runtime exceptions because of TypeScript's type checking, right? Wrong!

Chaos Testing Explained

Chaos testing is a part of site reliability engineering (SRE). In chaos testing, we intentionally break things in and around a given application, in order to: The purpose of chaos testing is to assess how software systems respond to scenarios like network outages, hardware failures, database failures, and server or cluster node failures in the infrastructure.

Why "page.goto()" is slowing down your tests

In this video, we dive into Playwright's "page.goto()" and understand why it could be slowing down your end-to-end tests. We start with an example script and then walk you through the Playwright UI mode to understand how resource loading can delay the "page.goto()" call. We also look into the different "waitUntil" configurations and check how they affect the speed of your tests. Enjoy, and drop any questions or comments below!