Skip to content

Posts

Do you still need Testing Library when an element has a data-cy attribute?

Below is an example of code that uses data-cy to locate elements in Cypress E2E automation. Using Testing Library is useful when an element has not been defined for E2E testing, meaning it has no data-test/cy attribute. For Testing Library to recognize it in the automation, the element Cypress searches for should not have data-cy; Testing Library then finds it using the pattern findByText.('Sua palavra mágica').click();.

Read more →

June 5, 2025

Poor practices to avoid in test automation

Read this, print it, maybe print it and stick it on a few people’s computers… 1. Inadequate definition and planning No clear goals: failing to clearly define the goal of automation, the risks, scope, and stakeholders. Automation without well-defined goals can waste effort and deliver disappointing results. A poorly defined automation strategy: lacking a test automation strategy that is applicable, customizable, and kept up to date. A poorly defined strategy can produce inefficient tests that are difficult to maintain.

Read more →

June 5, 2025

Applying design thinking to a real fitness studio website project

I am applying these studies to the strength training studio I attend in northern Porto Alegre. I asked the owner, who started the business in January 2025, for permission to apply the studies and develop a project for a real business with real needs. The project: create a landing page for the studio, applying Design Thinking techniques and the material from Innovation and Entrepreneurship — Inovação e Empreendedorismo - Web 03.

Read more →

April 24, 2025

Website research for the fitness studio market

Studies and general analysis of gym websites This brief research was carried out for a website prototype in the fitness sector. Its goal was to promote a studio focused on personal goals, aimed at people who dislike crowded gyms and a lack of instructor attention, prioritizing a personal approach to service. 1. Typical gym websites: Gym websites are generally built around three main pillars: Presenting services: showing the types of training available, such as strength training, functional training, spinning, Pilates, and yoga. Attracting new members: highlighting promotions, plans, trial classes, and quick contact forms. Social proof: displaying real photos, member testimonials, and results. 2. Common website structure:

Read more →

April 17, 2025

Cypress and automation best practices

Avoiding false positives with Cypress. Below is an example of some code and a commands file with a simple application login: This application was encountering an error during login. The following code was added to the automation to make login succeed: But what does that code mean? It suppresses errors that occur in the application while Cypress tests run.

Read more →

October 24, 2024