Skip to content

Thanasornsawan/tool_shop_cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate Web and API testing with Cypress Typescript

This practice use website https://practicesoftwaretesting.com/ for testing.
You may want to see detail about API documentation and how to setup web testing on localhost from https://github.com/testsmith-io/practice-software-testing

Command to run project

For debug

npm run cy:open

For run with specific browser and record video

npm run test:web:spec:headed:chrome "web/tests/search.cy.ts" --env enableVideo=true 

custom 1 custom 2 custom 3 video For run with default headless browser

npm run test:web

web result web report report For run only API

npm run test:api
npm run test:api:spec "api/tests/user.cy.ts"

api result api report For run both web and API

npm run test:all

cmd output cmd output2 merge html For convert mocha JSON to Xray format and upload to Jira

node scripts/convert_mocha_xray.js
python3 scripts/upload_xray_jira.py

jira command jira result

Refer blog https://wisdomgoody.medium.com/integrate-cypress-report-with-xray-jira-api-d714e9abe8c3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors