Skip to content

Commit 7908300

Browse files
committed
#46 - Resolve errors on new page
1 parent 7b4d95f commit 7908300

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

chromeExtension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gotdibbs-toolbox",
3-
"version": "2.3.2",
3+
"version": "2.3.3",
44
"description": "Admin tools for Dynamics 365/CRM",
55
"main": "index.js",
66
"scripts": {

chromeExtension/src/components/AppStateProvider.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ function getDynamicsState() {
8282
}
8383
else {
8484
// Notify honeybadger only if it looks like we might be in an actual CRM environment
85-
if (/(dynamics|crm)/.test(document.location.href) &&
86-
!/(operations|retail|ax|home)\.dynamics/.test(document.location.href)) {
85+
if (/(dynamics|crm)/i.test(document.location.href) &&
86+
!/(operations|retail|ax|home)\.dynamics/i.test(document.location.href) &&
87+
!/pagetype=apps/i.test(document.location.href)) {
8788
Honeybadger.notify('Failed to detect current CRM version', { context: {
8889
xrm: !!global.Xrm,
8990
xrmPage: !!(global.Xrm && global.Xrm.Page),

chromeExtension/tests/integration/config/wdio.conf-local.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ exports.config = {
66
specFileRetries: 0,
77
maxInstances: 1,
88
services: [
9-
//['chromedriver', {}]
10-
['browserstack', {}]
11-
],
12-
capabilities: [
13-
{
14-
maxInstances: 1,
15-
browserName: 'edge',
16-
browserVersion: 'latest',
17-
'bstack:options': {}
18-
}
9+
['chromedriver', {}]
10+
//['browserstack', {}]
1911
],
12+
// capabilities: [
13+
// {
14+
// maxInstances: 1,
15+
// browserName: 'edge',
16+
// browserVersion: 'latest',
17+
// 'bstack:options': {}
18+
// }
19+
// ],
2020
// Uncomment the below to specify a specific feature file to run
21-
specs: [
22-
'./features/utilities.feature'
23-
]
21+
// specs: [
22+
// './features/utilities.feature'
23+
// ]
2424
};

0 commit comments

Comments
 (0)