Skip to content

Commit b735af8

Browse files
committed
fix naming
1 parent 188e6a7 commit b735af8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/e2e/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const config = {
22
// environment
3-
baseOcisUrl: process.env.OCIS_URL || 'https://localhost:9200',
3+
baseUrl: process.env.OC_URL || 'https://localhost:9200',
44
assets: './tests/e2e/filesForUpload',
55
adminUser: process.env.ADMIN_USERNAME || 'admin',
66
adminPassword: process.env.ADMIN_PASSWORD || 'admin',

tests/e2e/pageObjects/OcisPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const config = require('../config')
22

33
class Ocis {
44
constructor() {
5-
this.signInPageUrl = config.baseOcisUrl
5+
this.signInPageUrl = config.baseUrl
66
this.homePageSelector = '.oc-login-bg'
77
this.loginFormSelector = '.oc-login-form'
88
this.usernameInputFieldSelector = '#oc-login-username'

tests/e2e/utils/apiHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const getAuthHeaders = (user) => {
3030
}
3131

3232
const getWebDavUrl = (user, fileName) => {
33-
return `${config.baseOcisUrl}/dav/files/${user}/${fileName}`
33+
return `${config.baseUrl}/dav/files/${user}/${fileName}`
3434
}
3535

3636
module.exports = {

0 commit comments

Comments
 (0)