1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Change a viewport width and height in a cypress test

    cypressCypress

    Long time ago, frontend developers (or as we called them back then - webmasters) could get away with supporting only one or two resolutions.

    Those days are long gone.

    In this lesson we're going to learn how to change a viewport width and height in a cypress test in order to ensure that our app works as intended on a given resolution.