Browse Source

Upgrade Cypress to latest version, migrate follow recommendations

Volodymyr Tkach 2 years ago
parent
commit
a64cf7557a

+ 14 - 0
support/cypress.config.js

@@ -0,0 +1,14 @@
+const { defineConfig } = require('cypress')
+
+module.exports = defineConfig({
+  projectId: 'hv532c',
+  video: true,
+  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)
+    },
+    specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
+  },
+})

+ 0 - 4
support/cypress.json

@@ -1,4 +0,0 @@
-{
-  "projectId": "hv532c",
-  "video": true
-}

+ 0 - 0
support/cypress/integration/control-panel/001_module_index/001_install_mysql.js → support/cypress/e2e/control-panel/001_module_index/001_install_mysql.js


+ 0 - 0
support/cypress/integration/control-panel/001_module_index/002_top_nav_bar.js → support/cypress/e2e/control-panel/001_module_index/002_top_nav_bar.js


+ 0 - 0
support/cypress/integration/control-panel/001_module_index/003_pages.js → support/cypress/e2e/control-panel/001_module_index/003_pages.js


+ 0 - 0
support/cypress/integration/control-panel/002_module_blog/001_posts.js → support/cypress/e2e/control-panel/002_module_blog/001_posts.js


+ 0 - 0
support/cypress/integration/control-panel/002_module_blog/002_categories.js → support/cypress/e2e/control-panel/002_module_blog/002_categories.js


+ 0 - 0
support/cypress/integration/control-panel/002_module_blog/003_categories_updates.js → support/cypress/e2e/control-panel/002_module_blog/003_categories_updates.js


+ 0 - 0
support/cypress/integration/control-panel/003_module_users/001_users.js → support/cypress/e2e/control-panel/003_module_users/001_users.js


+ 0 - 0
support/cypress/integration/control-panel/004_module_settings/001_robots_txt.js → support/cypress/e2e/control-panel/004_module_settings/001_robots_txt.js


+ 0 - 0
support/cypress/integration/control-panel/004_module_settings/002_pagination.js → support/cypress/e2e/control-panel/004_module_settings/002_pagination.js


+ 0 - 0
support/cypress/support/index.js → support/cypress/support/e2e.js


+ 1 - 1
support/package.json

@@ -1,5 +1,5 @@
 {
 {
   "devDependencies": {
   "devDependencies": {
-    "cypress": "7.3.0"
+    "cypress": "10.2.0"
   }
   }
 }
 }

File diff suppressed because it is too large
+ 264 - 461
support/yarn.lock


Some files were not shown because too many files changed in this diff