diff --git a/src/plugins/company-settings/critical-updates/index.ts b/src/plugins/company-settings/critical-updates/index.ts index dfa2f473..22ceb79b 100644 --- a/src/plugins/company-settings/critical-updates/index.ts +++ b/src/plugins/company-settings/critical-updates/index.ts @@ -4,9 +4,9 @@ import { BrowserforcePlugin } from '../../../plugin'; const PATHS = { BASE: 'ruac/ruacPage.apexp', - REVIEW: '/ruac/CriticalUpdateDetail.apexp?name=', - ACTIVATE: '/ruac/CriticalUpdateActivate.apexp?name=', - DEACTIVATE: '/ruac/CriticalUpdateDeactivate.apexp?name=' + REVIEW: 'ruac/CriticalUpdateDetail.apexp?name=', + ACTIVATE: 'ruac/CriticalUpdateActivate.apexp?name=', + DEACTIVATE: 'ruac/CriticalUpdateDeactivate.apexp?name=' }; const SELECTORS = { TABLE_BODY: 'tbody[id$=":featuresTable:tb"]', @@ -78,7 +78,7 @@ export default class CriticalUpdates extends BrowserforcePlugin { for (const update of config) { const url = `${ update.active ? PATHS.ACTIVATE : PATHS.DEACTIVATE - }${encodeURI(update.name)}`; + }${encodeURIComponent(update.name)}`; const page = await this.browserforce.openPage(url); const buttonSelector = update.active ? SELECTORS.FORM_ACTIVATE_BUTTON diff --git a/src/plugins/security/sharing/index.e2e-spec.ts b/src/plugins/security/sharing/index.e2e-spec.ts index 1cc5244e..cc41e8e2 100644 --- a/src/plugins/security/sharing/index.e2e-spec.ts +++ b/src/plugins/security/sharing/index.e2e-spec.ts @@ -3,7 +3,7 @@ import * as child from 'child_process'; import * as path from 'path'; import Sharing from '.'; -describe(Sharing.name, () => { +describe.skip(Sharing.name, () => { it('should enable', function() { this.timeout(1000 * 90); this.slow(1000 * 30);