mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
1 parent
710eb8fc2e
commit
103a8dbd0f
1 file changed
+16
@@ -8,5 +8,21 @@ const getConfig = (key, defaultValue) => {
|
|||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
e2e: {
|
e2e: {
|
||||||
baseUrl: getConfig('BASE_URL', 'http://localhost:5173'),
|
baseUrl: getConfig('BASE_URL', 'http://localhost:5173'),
|
||||||
|
viewportWidth: 1920,
|
||||||
|
viewportHeight: 1080,
|
||||||
|
pageLoadTimeout: 120000,
|
||||||
|
},
|
||||||
|
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,
|
||||||
|
// google_client_secret: process.env.GOOGLE_CLIENT_SECRET,
|
||||||
|
// github_username: process.env.GITHUB_USERNAME,
|
||||||
|
// github_password: process.env.GITHUB_PASSWORD,
|
||||||
|
// github_client_id: process.env.GITHUB_CLIENT_ID,
|
||||||
|
// github_client_secret: process.env.GITHUB_CLIENT_SECRET,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user