Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Setup and run automated tests using Google Sheet and Cypress.io

License

NotificationsYou must be signed in to change notification settings

joacim-boive/lensway-tests

Repository files navigation

UsingCypress to test the lensway websites by configuring aGoogle Sheet

Installing

Firstly, we need to install our dependencies to be able to run the project.In a terminal, from the project root:

yarn

Getting Started

Make a copy of thisGoogle Sheet.It must retain the format and tab names to work as we rely on these.

Get your ownGoogle Sheet API key here.Updatesheet-config.js with your key and spreadsheet id.

Just run yarn in a terminal (or "npm run test run" if you're old school ;)To just run the tests:

yarn test run

If you need to interact with the tests:

yarn test open

Read the rest of the details on how Cypress works over @Cypress

Background

The tests are intended to run on the CI server (Jenkins at the time of this writing).Don't install Cypress globally, it's intended to be tied to a project so we can be sure that the test works with the running version.

Details for the implementation of Google Sheet is contained in the sheet-config.js file.

Using

TODO

  • Replace my private Google Sheet API key with a Lensway official one

Authors

License

This project is licensed under the MIT License - see theLICENSE.md file for details


[8]ページ先頭

©2009-2025 Movatter.jp