mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Add stage secret and try oAuth login settings
This commit is contained in:
1 parent
dba521b358
commit
be4af591af
5 files changed
+64
-7
No files matched your search
@@ -1,4 +1,5 @@
|
||||
const { defineConfig } = require('cypress')
|
||||
// require('./.env').config()
|
||||
const process = require('process')
|
||||
|
||||
const getConfig = (key, defaultValue) => {
|
||||
@@ -12,4 +13,17 @@ module.exports = defineConfig({
|
||||
viewportHeight: 1080,
|
||||
pageLoadTimeout: 120000,
|
||||
},
|
||||
env: {
|
||||
// google_username: process.env.GOOGLE_USERNAME,
|
||||
// google_password: process.env.GOOGLE_PASSWORD,
|
||||
// google_client_id: process.env.GOOGLE_CLIENT_ID,
|
||||
// google_client_secret: process.env.GOOGLE_CLIENT_SECRET,
|
||||
// github_username: process.env.GITHUB_USERNAME,
|
||||
// github_password: process.env.GITHUB_PASSWORD,
|
||||
// Cannot read github client id
|
||||
// github_client_id: process.env.GITHUB_CLIENT_ID,
|
||||
// github_client_secret: process.env.GITHUB_CLIENT_SECRET,
|
||||
username: 'alex',
|
||||
password: '123456',
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user