From afc4adc45a194ccf6a1f2c62c26a297ee36c3643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pott?= Date: 2019εΉ΄8月11ζ—₯ 19:21:55 +0200 Subject: [PATCH 1/9] Add E2E tests for examples 1-3 (#1) * Add Cypress * Add DS_store to git * Test examples 1 to 3 * Fix linting * Check for error status 405 --- .gitignore | 2 + components/Example1.vue | 2 +- components/Example2.vue | 4 +- components/Example3.vue | 6 +- cypress.json | 9 + package.json | 2 + test/fixtures/example.json | 5 + test/integration/app.spec.js | 59 +++++ test/plugins/index.js | 17 ++ test/support/commands.js | 25 +++ test/support/index.js | 20 ++ yarn.lock | 416 ++++++++++++++++++++++++++++++++--- 12 files changed, 527 insertions(+), 40 deletions(-) create mode 100644 cypress.json create mode 100644 test/fixtures/example.json create mode 100644 test/integration/app.spec.js create mode 100644 test/plugins/index.js create mode 100644 test/support/commands.js create mode 100644 test/support/index.js diff --git a/.gitignore b/.gitignore index d006bcb..fc3f277 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ dist netlify-lambda-build .env + +.DS_store diff --git a/components/Example1.vue b/components/Example1.vue index be785f0..0f35937 100644 --- a/components/Example1.vue +++ b/components/Example1.vue @@ -25,7 +25,7 @@ export default {