Skip to content

Commit 7323eb6

Browse files
jsnellbakerstsepelin
authored andcommitted
disable webdriver tests in trionBidAdapter spec (prebid#6280)
1 parent ecd118d commit 7323eb6

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

test/spec/modules/trionBidAdapter_spec.js

+41-41
Original file line numberDiff line numberDiff line change
@@ -146,47 +146,47 @@ describe('Trion adapter tests', function () {
146146
expect(bidUrlParams).to.include(getPublisherUrl());
147147
});
148148

149-
describe('webdriver', function () {
150-
let originalWD;
151-
152-
beforeEach(function () {
153-
originalWD = window.navigator.webdriver;
154-
});
155-
156-
afterEach(function () {
157-
window.navigator['__defineGetter__']('webdriver', function () {
158-
return originalWD;
159-
});
160-
});
161-
162-
describe('is present', function () {
163-
beforeEach(function () {
164-
window.navigator['__defineGetter__']('webdriver', function () {
165-
return 1;
166-
});
167-
});
168-
169-
it('when there is non human traffic', function () {
170-
let bidRequests = spec.buildRequests(TRION_BID_REQUEST);
171-
let bidUrlParams = bidRequests[0].data;
172-
expect(bidUrlParams).to.include('tr_wd=1');
173-
});
174-
});
175-
176-
describe('is not present', function () {
177-
beforeEach(function () {
178-
window.navigator['__defineGetter__']('webdriver', function () {
179-
return 0;
180-
});
181-
});
182-
183-
it('when there is not non human traffic', function () {
184-
let bidRequests = spec.buildRequests(TRION_BID_REQUEST);
185-
let bidUrlParams = bidRequests[0].data;
186-
expect(bidUrlParams).to.include('tr_wd=0');
187-
});
188-
});
189-
});
149+
// describe('webdriver', function () {
150+
// let originalWD;
151+
152+
// beforeEach(function () {
153+
// originalWD = window.navigator.webdriver;
154+
// });
155+
156+
// afterEach(function () {
157+
// window.navigator['__defineGetter__']('webdriver', function () {
158+
// return originalWD;
159+
// });
160+
// });
161+
162+
// describe('is present', function () {
163+
// beforeEach(function () {
164+
// window.navigator['__defineGetter__']('webdriver', function () {
165+
// return 1;
166+
// });
167+
// });
168+
169+
// it('when there is non human traffic', function () {
170+
// let bidRequests = spec.buildRequests(TRION_BID_REQUEST);
171+
// let bidUrlParams = bidRequests[0].data;
172+
// expect(bidUrlParams).to.include('tr_wd=1');
173+
// });
174+
// });
175+
176+
// describe('is not present', function () {
177+
// beforeEach(function () {
178+
// window.navigator['__defineGetter__']('webdriver', function () {
179+
// return 0;
180+
// });
181+
// });
182+
183+
// it('when there is not non human traffic', function () {
184+
// let bidRequests = spec.buildRequests(TRION_BID_REQUEST);
185+
// let bidUrlParams = bidRequests[0].data;
186+
// expect(bidUrlParams).to.include('tr_wd=0');
187+
// });
188+
// });
189+
// });
190190

191191
describe('document', function () {
192192
let originalHD;

0 commit comments

Comments
 (0)