{"id":37518,"date":"2022-04-28T11:30:26","date_gmt":"2022-04-28T18:30:26","guid":{"rendered":"https:\/\/app14743.cloudwayssites.com\/?page_id=37518"},"modified":"2022-05-05T14:06:32","modified_gmt":"2022-05-05T21:06:32","slug":"cypress","status":"publish","type":"page","link":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/","title":{"rendered":"Learn &#8211; Frameworks &#8211; Cypress"},"content":{"rendered":"\n<div class=\"wp-block-group container-10 pt-sm\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h3 class=\"wp-block-heading\" id=\"block-d18f348b-b2b9-4e03-b8ff-08048050ba74\"><br>Foundations<\/h3>\n\n\n\n<ul id=\"block-10267d8b-90af-4718-9265-d347f98d2caa\" class=\"is-style-default\"><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/concepts\/functional-testing\/\">Functional Testing<\/a><\/li><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/concepts\/visual-testing\/\">Visual Testing<\/a><\/li><li><a href=\"\/learn\/concepts\/performance-testing\">Performance Testing<\/a><\/li><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/concepts\/accessibility-testing\/\">Accessibility Testing<\/a><\/li><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/concepts\/mobile-testing\/\">Mobile Testing<\/a><\/li><li><a href=\"\/learn\/concepts\/test-scripts-101\">Test Scripts<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"block-1845be72-f492-42d5-86cc-7c6d06e2eaf2\">Frameworks<\/h3>\n\n\n\n<ul id=\"block-0e8076c4-e72c-4c8f-92b4-240d56b60d9e\" class=\"is-style-default\"><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/\"><strong>Cypress<\/strong><\/a><\/li><li><a href=\"\/learn\/frameworks\/selenium\">Selenium<\/a><\/li><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/playwright\/\">Playwright<\/a><ul><li><a href=\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/playwright\/verifying-sortable-tables\/\">Verifying sortable tables<\/a><\/li><\/ul><\/li><li><a href=\"\/learn\/frameworks\/puppetteer\">Puppetteer<\/a><\/li><li><a href=\"\/learn\/frameworks\/appium\">Appium<\/a><\/li><\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h2 class=\"wp-block-heading\">What is Cypress?<\/h2>\n\n\n\n<p><strong>Cypress is a JavaScript testing framework\u00a0<\/strong>that has been embraced by front end developers for its speed, interactivity, and reliability.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>How do I automate using Cypress?<\/h2>\n\n\n\n<p>Installing Cypress is quick and easy via NPM. Once installed, you can run the included sample specs and use them as the basis for your own tests. You may also want to check out the popular Cypress automation class on Test Automation University \u2013 we\u2019ve provided a direct link further down on this page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Why use Cypress for testing?<\/h2>\n\n\n\n<p>Cypress has been gaining traction amongst front-end developers and test engineers for it\u2019s speed and simplicity. Cypress is based in JavaScript, so if that is your language of choice, it\u2019s certainly worth checking out. One additional note is that Cypress is designed for test automation vs other frameworks that were simply designed to \u201cdrive\u201d or automate browser interactions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Does Cypress support cross browser testing?<\/h2>\n\n\n\n<p>For a long time, Cypress only supported test execution in Google Chrome \u2013 more recently, they have added support for Edge and have beta support for Firefox. We suggest using Applitools for extensive support of all browsers, devices and viewports \u2013 the Cypress and Applitools integration is simple, seamless and fast! Learn more by visiting our\u00a0<a href=\"https:\/\/app14743.cloudwayssites.com\/tutorials\/cypress.html\">Cypress SDK tutorials<\/a>\u00a0page.<\/p>\n\n\n\n<div class=\"wp-block-group pt-sm pb-sm\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\"><section class=\"article-group\">\n    <div class=\"is-row\">\n      <div class=\"title-bar\">\n      <h2>Learn Cypress from Test Automation University<\/h2>\n    <\/div>      <div class=\"row\">\n                  <div class=\"col-md-6 col-lg-3\">\n            \t<div class=\"item \">\n\t\t<a href=\"https:\/\/testautomationu.applitools.com\/cypress-tutorial\/chapter1.html\" >\n\t\t\t\t\t\t\t<picture class=\"image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/09\/learning01-335x211.jpg\" width=\"335\" height=\"211\" alt=\"\" loading=\"lazy\">\n\t\t\t\t<\/picture>\n\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t<h3 class=\"title\">Setting Up Cypress<\/h3>\n\t\t\t\t\t\t\t\t\t<div class=\"meta\">\n\t\t\t\t\t\tTutorials\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/a>\n\t<\/div>\n          <\/div>\n                    <div class=\"col-md-6 col-lg-3\">\n            \t<div class=\"item \">\n\t\t<a href=\"https:\/\/testautomationu.applitools.com\/cypress-tutorial\/chapter2.html\" >\n\t\t\t\t\t\t\t<picture class=\"image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/09\/learning02-335x211.jpg\" width=\"335\" height=\"211\" alt=\"\" loading=\"lazy\">\n\t\t\t\t<\/picture>\n\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t<h3 class=\"title\">Writing your first Cypress Test<\/h3>\n\t\t\t\t\t\t\t\t\t<div class=\"meta\">\n\t\t\t\t\t\tTutorials\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/a>\n\t<\/div>\n          <\/div>\n                    <div class=\"col-md-6 col-lg-3\">\n            \t<div class=\"item \">\n\t\t<a href=\"https:\/\/testautomationu.applitools.com\/cypress-tutorial\/chapter4.html\" >\n\t\t\t\t\t\t\t<picture class=\"image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/09\/learning04-335x211.png\" width=\"335\" height=\"211\" alt=\"\" loading=\"lazy\">\n\t\t\t\t<\/picture>\n\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t<h3 class=\"title\">Writing Cypress Validations or Assertions<\/h3>\n\t\t\t\t\t\t\t\t\t<div class=\"meta\">\n\t\t\t\t\t\tTutorials\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/a>\n\t<\/div>\n          <\/div>\n                    <div class=\"col-md-6 col-lg-3\">\n            \t<div class=\"item \">\n\t\t<a href=\"https:\/\/testautomationu.applitools.com\/cypress-tutorial\/chapter7.html\" >\n\t\t\t\t\t\t\t<picture class=\"image\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/09\/learning05-335x211.jpg\" width=\"335\" height=\"211\" alt=\"\" loading=\"lazy\">\n\t\t\t\t<\/picture>\n\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t<h3 class=\"title\">Page Objects in Cypress<\/h3>\n\t\t\t\t\t\t\t\t\t<div class=\"meta\">\n\t\t\t\t\t\tTutorials\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/a>\n\t<\/div>\n          <\/div>\n                <\/div>\n    <\/div>\n    <\/section><\/div><\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Foundations Functional Testing Visual Testing Performance Testing Accessibility Testing Mobile Testing Test Scripts Frameworks Cypress Selenium Playwright Verifying sortable tables Puppetteer Appium What is Cypress? Cypress is a JavaScript testing&#8230;<\/p>\n","protected":false},"author":94,"featured_media":0,"parent":37516,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>An Introduction To Cypress - Learn Test Automation Frameworks<\/title>\n<meta name=\"description\" content=\"Foundations Functional Testing Visual Testing Performance Testing Accessibility Testing Mobile Testing Test Scripts Frameworks Cypress Selenium Playwright Verifying sortable tables Puppetteer Appium What is Cypress? Cypress is a JavaScript testing...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn - Frameworks - Cypress\" \/>\n<meta property=\"og:description\" content=\"Foundations Functional TestingVisual TestingPerformance TestingAccessibility TestingMobile TestingTest Scripts Frameworks\" \/>\n<meta property=\"og:url\" content=\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/\" \/>\n<meta property=\"og:site_name\" content=\"AI-Powered End-to-End Testing | Applitools\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-05T21:06:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/\",\"name\":\"An Introduction To Cypress - Learn Test Automation Frameworks\",\"isPartOf\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#website\"},\"datePublished\":\"2022-04-28T18:30:26+00:00\",\"dateModified\":\"2022-05-05T21:06:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/app14743.cloudwayssites.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learn\",\"item\":\"https:\/\/app14743.cloudwayssites.com\/learn\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Learn &#8211; Frameworks\",\"item\":\"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Learn &#8211; Frameworks &#8211; Cypress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#website\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/\",\"name\":\"Applitools Visual AI\",\"description\":\"Applitools delivers full end-to-end test automation with AI infused at every step.\",\"publisher\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/app14743.cloudwayssites.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#organization\",\"name\":\"Applitools\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png\",\"contentUrl\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png\",\"width\":156,\"height\":28,\"caption\":\"Applitools\"},\"image\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"An Introduction To Cypress - Learn Test Automation Frameworks","description":"Foundations Functional Testing Visual Testing Performance Testing Accessibility Testing Mobile Testing Test Scripts Frameworks Cypress Selenium Playwright Verifying sortable tables Puppetteer Appium What is Cypress? Cypress is a JavaScript testing...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/","og_locale":"en_US","og_type":"article","og_title":"Learn - Frameworks - Cypress","og_description":"Foundations Functional TestingVisual TestingPerformance TestingAccessibility TestingMobile TestingTest Scripts Frameworks","og_url":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/","og_site_name":"AI-Powered End-to-End Testing | Applitools","article_modified_time":"2022-05-05T21:06:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/","url":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/","name":"An Introduction To Cypress - Learn Test Automation Frameworks","isPartOf":{"@id":"https:\/\/app14743.cloudwayssites.com\/#website"},"datePublished":"2022-04-28T18:30:26+00:00","dateModified":"2022-05-05T21:06:32+00:00","breadcrumb":{"@id":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/cypress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/app14743.cloudwayssites.com\/"},{"@type":"ListItem","position":2,"name":"Learn","item":"https:\/\/app14743.cloudwayssites.com\/learn\/"},{"@type":"ListItem","position":3,"name":"Learn &#8211; Frameworks","item":"https:\/\/app14743.cloudwayssites.com\/learn\/frameworks\/"},{"@type":"ListItem","position":4,"name":"Learn &#8211; Frameworks &#8211; Cypress"}]},{"@type":"WebSite","@id":"https:\/\/app14743.cloudwayssites.com\/#website","url":"https:\/\/app14743.cloudwayssites.com\/","name":"Applitools Visual AI","description":"Applitools delivers full end-to-end test automation with AI infused at every step.","publisher":{"@id":"https:\/\/app14743.cloudwayssites.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/app14743.cloudwayssites.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/app14743.cloudwayssites.com\/#organization","name":"Applitools","url":"https:\/\/app14743.cloudwayssites.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/","url":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png","contentUrl":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png","width":156,"height":28,"caption":"Applitools"},"image":{"@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/pages\/37518"}],"collection":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/comments?post=37518"}],"version-history":[{"count":0,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/pages\/37518\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/pages\/37516"}],"wp:attachment":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/media?parent=37518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}