summaryrefslogtreecommitdiff
path: root/cypress/plugins
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-08-12 19:05:07 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-08-12 19:05:07 +0900
commitb81ff340b1ab42254de1612c3264867205b0112f (patch)
tree1696900c9d7dd07a0e380e9b95da01dceeeaad6e /cypress/plugins
parentCreate config.yml (diff)
downloadsharkey-b81ff340b1ab42254de1612c3264867205b0112f.tar.gz
sharkey-b81ff340b1ab42254de1612c3264867205b0112f.tar.bz2
sharkey-b81ff340b1ab42254de1612c3264867205b0112f.zip
Introduce e2e test
Diffstat (limited to 'cypress/plugins')
-rw-r--r--cypress/plugins/index.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js
new file mode 100644
index 0000000000..59b2bab6e4
--- /dev/null
+++ b/cypress/plugins/index.js
@@ -0,0 +1,22 @@
+/// <reference types="cypress" />
+// ***********************************************************
+// This example plugins/index.js can be used to load plugins
+//
+// You can change the location of this file or turn off loading
+// the plugins file with the 'pluginsFile' configuration option.
+//
+// You can read more here:
+// https://on.cypress.io/plugins-guide
+// ***********************************************************
+
+// This function is called when a project is opened or re-opened (e.g. due to
+// the project's config changing)
+
+/**
+ * @type {Cypress.PluginConfig}
+ */
+// eslint-disable-next-line no-unused-vars
+module.exports = (on, config) => {
+ // `on` is used to hook into various events Cypress emits
+ // `config` is the resolved Cypress config
+}