From efc4971cdb95aac37b21734ad2c99ab02741f84e Mon Sep 17 00:00:00 2001 From: Walmyr Date: Fri, 19 Jan 2024 23:33:39 +0100 Subject: [PATCH] Small heading adjustments --- src/index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index bb9f34e..7077ef3 100644 --- a/src/index.html +++ b/src/index.html @@ -172,9 +172,7 @@

-
.invoke()
- and -
.trigger()
+
.invoke().trigger()

Another element you might have to interact with when testing web apps is the input of type range.

To deal with such an element, you can combine two Cypress features.

@@ -187,7 +185,7 @@

-
.type('yyyy-mm-dd')
+
.type('yyyy-mm-dd').blur()

Another element you might have to interact with when testing web apps is the input of type date.

To deal with such an element, you can combine two Cypress features.

@@ -224,7 +222,7 @@

-
.should('have.length')
+
.should('have.length', n)

One common challenge when testing web applications is to assert on the number of specific elements.

Imagine you have a unordered list, and you want to assert that it has a specific number of list items.