Better world by better software

フィード

記事のアイキャッチ画像
Cypress Alias Documentation Trick
Better world by better software
<p>Recently a Cypress asked in my <a href="https://glebbahmutov.com/">Discord channel</a> the following question:</p><blockquote><p>I have
1ヶ月前
記事のアイキャッチ画像
Flaky IFrame Online Store Test
Better world by better software
<p>Recently, I was asked to write a solid test for an online demo e-commerce shop <a href="https://demo.prestashop.com/">https://demo.presta
2ヶ月前
記事のアイキャッチ画像
Cypress Tests For Apps That Use Central State
Better world by better software
<p>Let&#39;s say you are testing an app that <a href="https://gomakethings.com/an-intro-to-state-based-ui-with-javascript/">derives its UI f
2ヶ月前
記事のアイキャッチ画像
Cypress Flaky Tests Exercises
Better world by better software
<p>No one likes flaky tests, not even their mama (you who wrote them). Luckily, most flaky tests come from several specific places: applicat
2ヶ月前
記事のアイキャッチ画像
Using Cypress App Action With ngrx/store Angular Applications
Better world by better software
<p>Let&#39;s say you are writing end-to-end tests for a modern Angular application. The app is showing a list of customers, so your first te
2ヶ月前
記事のアイキャッチ画像
Check Fees And Totals Using Cypress
Better world by better software
<p>Imagine you have a small page showing item prices and fees. For example, it could be a checkout page. The fees must add up to the total.<
2ヶ月前
記事のアイキャッチ画像
Cypress Vs SafeTest
Better world by better software
<p>Recently Netflix has released <a href="https://github.com/kolodny/safetest">SafeTest</a> - a component testing framework built on top of
3ヶ月前
記事のアイキャッチ画像
Solve Tough Pagination Cases Using Cypress
Better world by better software
<p>In my recent blog post <a href="/blog/cypress-pagination-challenge/" title="Cypress Pagination Challenge">Cypress Pagination Challenge</a
3ヶ月前
記事のアイキャッチ画像
Click Button If Enabled
Better world by better software
<p>Imagine you have a button on the page. This button sometimes is enabled and sometimes is disabled. The test does not control the button (
3ヶ月前
記事のアイキャッチ画像
My Favorite ImageMagick Convert Commands
Better world by better software
<p><a href="https://imagemagick.org/">ImageMagick</a> is an amazing CLI image manipulation utility I have been using for 20 years. Here are
3ヶ月前
記事のアイキャッチ画像
Quickly Run The Changed Specs on GitHub Actions
Better world by better software
<p>In the previous blog post <a href="/blog/trace-changed-specs/" title="Run Changed Traced Specs On GitHub Actions">Run Changed Traced Spec
3ヶ月前
記事のアイキャッチ画像
Use Cypress For API Testing
Better world by better software
<p>Cypress is known as an End-To-End test runner, but it can happily run component, unit, and even API tests. I have projects that use Cypre
3ヶ月前
記事のアイキャッチ画像
Cypress Flakiness Examples
Better world by better software
<p>Recently I watched <a href="https://filiphric.com/">Filip Hric</a> YT livestream <a href="https://www.youtube.com/watch?v=fFw-FkXk3ec">De
4ヶ月前
記事のアイキャッチ画像
Check Broken Images Using Cypress
Better world by better software
<p>There is nothing more embarrassing than a broken image link right there in the middle of the page.</p><p><img src="../images/check-broke
5ヶ月前
記事のアイキャッチ画像
How To Learn Cypress.io Test Runner In 2024
Better world by better software
<p>If your 2024 resolution is to acquire web automation testing skills, then learning how to write Cypress.io tests is the way to go. Here i
5ヶ月前
記事のアイキャッチ画像
Do Not Put Ids Into Test Ids
Better world by better software
<p>Here is a piece of advice based on my experience using <code>data-testid</code> or <code>data-cy</code> to access elements in my end-to-e
5ヶ月前
記事のアイキャッチ画像
Refactor Cypress Modal Tests
Better world by better software
<p>Recently I noticed a video in a Linkedin post showing a few Cypress tests. The tests confirmed an alert is happening with right text, plu
6ヶ月前
記事のアイキャッチ画像
Set Commit Status In Another Repo
Better world by better software
<p>See the blog post <a href="/blog/two-repo-github-actions-setup/" title="Separate Application And Tests Repos GitHub Actions Setup">Separa
6ヶ月前
記事のアイキャッチ画像
Separate Application And Tests Repos GitHub Actions Setup
Better world by better software
<p>In my previous blog post <a href="/blog/how-to-keep-cypress-tests-in-another-repo/" title="How to Keep Cypress Tests in Another Repo Whil
6ヶ月前
記事のアイキャッチ画像
Test Refactoring Example
Better world by better software
<p>Recently a user posted on <a href="https://www.linkedin.com/posts/keith-petryshyn_soloproject-webdeveloper-opentowork-activity-7124944500
7ヶ月前
記事のアイキャッチ画像
How I Add Test Ids To Front-End Components
Better world by better software
<p>When writing Cypress end-to-end or component tests, it is nice to have ways to easily select elements on the page. For example:</p><figu
7ヶ月前
記事のアイキャッチ画像
Run Cypress Specs In Parallel For Free Using Spec Timings
Better world by better software
<p>Recently Cypress-the-company blocked projects that use 3rd party dashboard plugins like <code>sorry-cypress</code>.</p><p><img src="../i
7ヶ月前
記事のアイキャッチ画像
Pick Tests Using Test Ids From Another Source Repo
Better world by better software
<p>This blog post continues the work shown in the post <a href="/blog/using-test-ids-to-pick-specs-to-run/" title="Using Test Ids To Pick Cy
8ヶ月前
記事のアイキャッチ画像
Cypress Pagination Challenge
Better world by better software
<p>Recently I <a href="https://cypresstips.substack.com/p/cypress-august-2023">put a challenge</a> to the Cypress users: can you click the &
8ヶ月前
記事のアイキャッチ画像
Using Test Ids To Pick Cypress Specs To Run
Better world by better software
<p>Imagine you have 100s of Cypress specs with end-to-end tests. You have modified a React component source file &quot;Hello.jsx&quot;. Whic
8ヶ月前
記事のアイキャッチ画像
10 Years Of Blogging
Better world by better software
<p>I published my first post on my personal blog 10 (TEN!) years ago. Wow. It seems only yesterday I wrote a reflection post <a href="/blog/
8ヶ月前
記事のアイキャッチ画像
Electric Heat Pumps
Better world by better software
<p>I have replaced my heating and cooling with Mitsubishi electric heat pumps. I have a central heating and cooling system in my house (real
8ヶ月前
記事のアイキャッチ画像
Upload Your Images To Cypress Cloud
Better world by better software
<p>If a Cypress test fails and you are recording the test run on Cypress <del>Dashboard</del> Cloud, the screenshot image is uploaded and st
9ヶ月前
記事のアイキャッチ画像
Use Async Await In Cypress Specs
Better world by better software
<p>The biggest gripe people have when they start using Cypress is the &quot;lack&quot; of <code>await</code> keyword in front of every Cypre
9ヶ月前
記事のアイキャッチ画像
How Cypress Component Testing Was Born
Better world by better software
<p>I always liked end-to-end testing and using a real browser to see the application run. I also love unit tests and probably used every tes
9ヶ月前