Skip to content

Commit

Permalink
✅ bump BrowserStack edge version (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Oct 22, 2020
1 parent 818210e commit 27e48e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/browsers.conf.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Capabilities `curl -u "user:key" https://api.browserstack.com/automate/browsers.json`
// Capabilities: https://www.browserstack.com/automate/capabilities

module.exports = {
EDGE: {
base: 'BrowserStack',
browser: 'Edge',
browser_version: '18.0',
browser_version: '86',
os: 'Windows',
os_version: '10',
},
Expand Down
9 changes: 8 additions & 1 deletion test/e2e/browsers.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ const browsers = require('../browsers.conf')

module.exports = [
browsers['SAFARI'],
browsers['EDGE'],
{
...browsers['EDGE'],
// Without this specific version, execute and executeAsync fails on Edge.
'browserstack.selenium_version': '3.5.2',
// Note: more recent versions of selenium 3 have the same issue, but selenium 4 seems to be
// fine:
// 'browserstack.selenium_version': '4.0.0-alpha-6',
},
browsers['FIREFOX'],
{
...browsers['CHROME_MOBILE'],
Expand Down
3 changes: 0 additions & 3 deletions test/e2e/scenario/rum/resources.scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ describe('rum resources', () => {
createTest("don't track disallowed cross origin xhr timings")
.withRum()
.run(async ({ crossOriginUrl, events }) => {
if (browser.capabilities.browserName === 'MicrosoftEdge') {
pending('Edge 18 seems to track cross origin xhr timings anyway')
}
await sendXhr(`${crossOriginUrl}/ok?duration=${REQUEST_DURATION}`)
await flushEvents()
const resourceEvent = events.rumResources.find((r) => r.http.url.includes('/ok'))!
Expand Down

0 comments on commit 27e48e4

Please sign in to comment.