Here is some quick and easy Cypress to get you going:
cy.get("input")
.type("my text goes here")
.should("have.value", "my text goes here");
cy.get("input")
.invoke("attr", "placholder")
.should("contain", "Search");
The following will get the first anchor tag on the page, click on it and then check that the url it navigates to containts "/yoururl":
cy.get("a")
.first()
.click()
.url()
.should("include", "/yoururl");
The following grabs the h1 tag and checks for the text "My heading" within it:
cy.get("h1").contains("My heading");
cy.get("div.your-special-classname").contains("Your spectial text...");
The following will find the 2nd select element and "select" the option with the text "Option 3":
cy.get("select")
.eq(1)
.select("Option 3");
To be continued...