---
title: "Mike C (@iheartjsdev) | Hashnode"
description: "I <3 JS. Read the latest articles by Mike C on Hashnode."
url: "https://hashnode.com/@iheartjsdev"
---

@iheartjsdev

# Mike C

@iheartjsdev · Provo, Utah, USA · Joined January 2021

I <3 JS

[Website](https://iheartjs.dev/)

### [Cypress Tip: Use plugins to make assertions on your test environment](https://iheartjs.hashnode.dev/cypress-tip-use-plugins-to-make-assertions-on-your-test-environment?utm_source=hashnode&utm_medium=feed)

Before we dive into my next tip, let's get something straight: writing a Cypress plugin is not scary! Nor is it just for advanced users to solve complex problems. In fact, common headaches can be cured easily with plugins. The only thing you need t...

2 min read · [iheartjs.hashnode.dev](https://iheartjs.hashnode.dev/cypress-tip-use-plugins-to-make-assertions-on-your-test-environment?utm_source=hashnode&utm_medium=feed)

[May 5, 2021](https://hashnode.com/posts/cypress-tip-use-plugins-to-make-assertions-on-your-test-environment/60932105d1bbc47b91a65cda)

### [Publish heuristics when a "best practice" isn't universally applicable](https://iheartjs.hashnode.dev/publish-heuristics-when-a-best-practice-isnt-universally-applicable?utm_source=hashnode&utm_medium=feed)

There's more than one way to peel a banana. Some may not have the dexterity or a ripe enough banana to do it your way. Does that mean you can't teach it? No! Speaking for myself, I've been hesitant to produce guides when I was unsure of who would ben...

1 min read · [iheartjs.hashnode.dev](https://iheartjs.hashnode.dev/publish-heuristics-when-a-best-practice-isnt-universally-applicable?utm_source=hashnode&utm_medium=feed)

[Apr 5, 2021](https://hashnode.com/posts/publish-heuristics-when-a-best-practice-isnt-universally-applicable/606b9168b17dc439b747decc)

### [Cypress Tip: Don't Overuse the Visibility Assertion](https://iheartjs.hashnode.dev/cypress-tip-dont-overuse-the-visibility-assertion?utm_source=hashnode&utm_medium=feed)

Cypress makes assertions easy with the should command and an intuitive way to leverage the ubiquitous Chai assertion library. Let's say, for example, that our application is the Real World App and we need to assert that upon navigating to Home the a...

4 min read · [iheartjs.hashnode.dev](https://iheartjs.hashnode.dev/cypress-tip-dont-overuse-the-visibility-assertion?utm_source=hashnode&utm_medium=feed)

[Feb 25, 2021](https://hashnode.com/posts/cypress-tip-dont-overuse-the-visibility-assertion/603838023b9c825a0b8aaa38)

### [Cypress Tip: In-Spec Functions](https://iheartjs.hashnode.dev/cypress-tip-in-spec-functions?utm_source=hashnode&utm_medium=feed)

Let's imagine you have a bunch of repeatable code in your Cypress tests: it('should do this thing', () => { // ... cy.get('#thisElement') .then($el => { // some unusual hackery here }) // ... }) it('should do that thing', () => { ...

3 min read · [iheartjs.hashnode.dev](https://iheartjs.hashnode.dev/cypress-tip-in-spec-functions?utm_source=hashnode&utm_medium=feed)

[Feb 3, 2021](https://hashnode.com/posts/cypress-tip-in-spec-functions/601ad5d80394d00f62dc607f)

### [Cypress Tip: Get the Cypress Dashboard App](https://iheartjs.hashnode.dev/cypress-tip-get-the-cypress-dashboard-app?utm_source=hashnode&utm_medium=feed)

If you're familiar with the Cypress Dashboard, you might immediately suspect that I'm clickbaiting you, but stay with me! In Chrome, there's a way to add shortcuts to ordinary sites (like dashboard.cypress.io) as "apps". Firefox calls these "site-spe...

2 min read · [iheartjs.hashnode.dev](https://iheartjs.hashnode.dev/cypress-tip-get-the-cypress-dashboard-app?utm_source=hashnode&utm_medium=feed)

[Jan 29, 2021](https://hashnode.com/posts/cypress-tip-get-the-cypress-dashboard-app/60148e1de54673573b570d9b)
