Skip to Content
Front-End Development Projects with Vue.js
book

Front-End Development Projects with Vue.js

by Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin, Dániel Szabó
November 2020
Beginner to intermediate
774 pages
11h 58m
English
Packt Publishing
Content preview from Front-End Development Projects with Vue.js

13. End-to-End Testing

Overview

In this chapter, we will look at how to create an End-to-End (E2E) test suite for a Vue.js application with Cypress. In order to write robust tests, we'll look at common pitfalls and best practices such as intercepting HTTP requests and waiting for elements to appear without timeouts.

As we proceed, you will gain an understanding of E2E testing and its use cases. You will see how Cypress can be configured to test a Vue.js application and also interact with and inspect a user interface using it. Throughout the course of the chapter, you will gain familiarity with the pitfalls of arbitrary timeouts and how to avoid them with Cypress' waiting functionality. Toward the end of the chapter, you will also learn ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js

Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js

Carlos Rojas

Publisher Resources

ISBN: 9781838984823Supplemental Content