This project is inspired by elgentos/magento2-cypress-testing-suite: https://github.com/elgentos/magento2-cypress-testing-suite
Clone repository.
$ git clone git@github.com:ncatestify/cypress-magento-plugin.git
Navigate into project folder and install dependencies.
$ cd <project-folder>
$ npm installUpdate BaseUrl in cypress.config.ts. The BaseUrl should not end with the "/".
baseUrl: 'https://testify.team'
or use
$ CYPRESS_baseUrl=[your baseUrl] npx cypress run/open
Update selectors under cypress/fixtures/selectors.
$ npx cypress run
Or if you want to use the GUI
$ npx cypress open or $ npm run cypress:open
https://github.com/ncatestify/cypress-base-plugin
cy.ttaddCartWishlistCompare()cy.ttProductHasImage()cy.ttProductHasPriceAndTitle()cy.ttSearchForMultipleResults()cy.ttSearchForNoResults()cy.ttSetFilterColor()cy.ttSortByPrice()cy.ttValidatePrices()TESTIFY.TEAM - WE FIND BUGS. AUTOMATED.
