A suite of automation tests written with JavaScript and automated with Cypress JS framework, for the website https://www.saucedemo.com/, in order to practice my automation testing skills with Cypress.
git clone https://github.com/MirceaMacarie/Saucedemo_Cypress_Test.gitA suite of automation tests written with JavaScript and automated with Cypress JS framework, for the website https://www.saucedemo.com/, in order to practice my automation testing skills with Cypress.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/MirceaMacarie/Saucedemo_Cypress_TestCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a Cypress test suite for the SauceDemo website (https://www.saucedemo.com/) to automate the following scenarios: [SCENARIOS]. Ensure the tests are written in JavaScript and include assertions for [SPECIFIC ELEMENTS] on the page. Provide the complete code with clear comments.
# Cypress Test Suite for SauceDemo Website
```javascript
describe('SauceDemo Website Automation', () => {
beforeEach(() => {
cy.visit('https://www.saucedemo.com/')
cy.get('#user-name').type('standard_user')
cy.get('#password').type('secret_sauce')
cy.get('#login-button').click()
})
it('should add items to the cart and proceed to checkout', () => {
// Add items to the cart
cy.get('#add-to-cart-sauce-labs-backpack').click()
cy.get('#add-to-cart-sauce-labs-bike-light').click()
// Verify items are in the cart
cy.get('.shopping_cart_link').click()
cy.get('.cart_item').should('have.length', 2)
// Proceed to checkout
cy.get('#checkout').click()
cy.get('#first-name').type('John')
cy.get('#last-name').type('Doe')
cy.get('#postal-code').type('12345')
cy.get('#continue').click()
cy.get('.summary_info').should('contain', 'SauceCard #31337')
})
it('should verify the inventory page elements', () => {
cy.get('.inventory_list').should('be.visible')
cy.get('.inventory_item').should('have.length', 6)
cy.get('.product_sort_container').should('be.visible')
})
})
```Your one-stop shop for church and ministry supplies.
Automate your browser workflows effortlessly
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan