cypress-ntlm-auth 401 Unauthorized Response

TLDR; Be sure to only run cy.ntlmReset() after all requests in a test are completed. Recently we started to experience intermittent 401 unauthorized errors when our Cypress tests were executing on our build server. These errors were intermittent because they were timing dependent. We've been using a library with Cypress that allows it to authenticate … Continue reading cypress-ntlm-auth 401 Unauthorized Response

Cypress.io baseUrl

TLDR; To help make your tests more reliable and prevent unexpected issues, organize Cypress tests around a single FQDN and don't switch between different target URLs during a test execution. Cypress Journey Recently I've been spending some time improving an existing test suite and writing tests in Cypress.io. Cypress is an excellent framework for developing … Continue reading Cypress.io baseUrl

Effective Angular Testing

Angular provides a lot of great tools for testing your application. Unfortunately, this wide array of tools and different methods for testing can be confusing when you first start working with the framework. Having an understanding of how Angular's different testing tools and methods correspond to the traditional levels of automated testing will help you … Continue reading Effective Angular Testing

Testing Templated AngularJS Directives

AngularJS is awesome! I've been spending a lot of time lately learning and building applications using the AngularJS framework. I'm definitely not an expert yet, but I'm having a lot of fun! It's a great framework and I really like how they've made testing a first-class feature. Templates with directives Recently I had to create … Continue reading Testing Templated AngularJS Directives

Developer === Tester

That's right. I said it. If you are a software developer, then you are also a software tester. If you care about the quality of the software you are developing then you should be spending a significant amount of your development effort ensuring and verifying that quality. The only way to do that is to … Continue reading Developer === Tester