mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Cypress update (not yet for playing game)
This commit is contained in:
1 parent
433ced4867
commit
cd7d48b322
5 files changed
+141
-75
No files matched your search
@@ -1,5 +1,5 @@
|
||||
const { defineConfig } = require('cypress')
|
||||
// require('./.env').config()
|
||||
require('dotenv').config()
|
||||
const process = require('process')
|
||||
|
||||
const getConfig = (key, defaultValue) => {
|
||||
@@ -12,8 +12,12 @@ module.exports = defineConfig({
|
||||
viewportWidth: 1920,
|
||||
viewportHeight: 1080,
|
||||
pageLoadTimeout: 120000,
|
||||
setupNodeEvents(on, config) {},
|
||||
},
|
||||
env: {
|
||||
...process.env,
|
||||
defaultAccount: process.env.default_USERNAME,
|
||||
defaultPassword: process.env.default_PASSWORD,
|
||||
// google_username: process.env.GOOGLE_USERNAME,
|
||||
// google_password: process.env.GOOGLE_PASSWORD,
|
||||
// google_client_id: process.env.GOOGLE_CLIENT_ID,
|
||||
|
||||
Reference in new issue
Block a user