summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-06-11 15:53:45 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-06-11 15:53:45 +0900
commiteaf6ddd47496e884066006f1fb35e3a90aac5176 (patch)
tree28ddddfcb6d4379c66ac4f55536a47963a83444e
parentfeat: image cropping (#8808) (diff)
downloadmisskey-eaf6ddd47496e884066006f1fb35e3a90aac5176.tar.gz
misskey-eaf6ddd47496e884066006f1fb35e3a90aac5176.tar.bz2
misskey-eaf6ddd47496e884066006f1fb35e3a90aac5176.zip
update cypress
-rw-r--r--cypress.config.ts15
-rw-r--r--cypress/e2e/basic.cy.js (renamed from cypress/integration/basic.js)0
-rw-r--r--cypress/e2e/widgets.cy.js (renamed from cypress/integration/widgets.js)0
-rw-r--r--cypress/support/e2e.js (renamed from cypress/support/index.js)0
4 files changed, 10 insertions, 5 deletions
diff --git a/cypress.config.ts b/cypress.config.ts
index 3c8a8c1387..e390c41a54 100644
--- a/cypress.config.ts
+++ b/cypress.config.ts
@@ -1,7 +1,12 @@
-import { defineConfig } from 'cypress';
+import { defineConfig } from 'cypress'
export default defineConfig({
- e2e: {
- baseUrl: 'http://localhost:61812',
- },
-});
+ e2e: {
+ // We've imported your old cypress plugins here.
+ // You may want to clean this up later by importing these.
+ setupNodeEvents(on, config) {
+ return require('./cypress/plugins/index.js')(on, config)
+ },
+ baseUrl: 'http://localhost:61812',
+ },
+})
diff --git a/cypress/integration/basic.js b/cypress/e2e/basic.cy.js
index eb5195c4b2..eb5195c4b2 100644
--- a/cypress/integration/basic.js
+++ b/cypress/e2e/basic.cy.js
diff --git a/cypress/integration/widgets.js b/cypress/e2e/widgets.cy.js
index 56ad95ee94..56ad95ee94 100644
--- a/cypress/integration/widgets.js
+++ b/cypress/e2e/widgets.cy.js
diff --git a/cypress/support/index.js b/cypress/support/e2e.js
index 9185be344c..9185be344c 100644
--- a/cypress/support/index.js
+++ b/cypress/support/e2e.js