Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 11, 2023
1 parent d79fb45 commit 80e56a8
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions js/tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ const BROWSERSTACK = Boolean(ENV.BROWSERSTACK)
const DEBUG = Boolean(ENV.DEBUG)
const JQUERY_TEST = Boolean(ENV.JQUERY)

const webdriverConfig = {
hostname: 'hub.lambdatest.com',
port: 80
}

const webdriverConfigMobile = {
hostname: 'mobile-hub.lambdatest.com',
port: 80
}

const frameworks = [
'jasmine'
]
Expand Down Expand Up @@ -66,10 +56,10 @@ const config = {
colors: true,
autoWatch: false,
singleRun: true,
captureTimeout: 90_000,
captureTimeout: 180_000,
browserDisconnectTolerance: 3,
browserDisconnectTimeout: 90_000,
browserNoActivityTimeout: 90_000,
browserDisconnectTimeout: 180_000,
browserNoActivityTimeout: 180_000,
concurrency: 5,
client: {
clearContext: false,
Expand Down Expand Up @@ -118,7 +108,18 @@ const config = {
}

if (LAMBDATEST) {
const webdriverConfig = {
hostname: 'hub.lambdatest.com',
port: 80
}

const webdriverConfigMobile = {
hostname: 'mobile-hub.lambdatest.com',
port: 80
}

config.hostname = 'localhost.lambdatest.com'

for (const key of Object.keys(browsers.lambdaTest)) {
browsers.lambdaTest[key].base = 'WebDriver'
browsers.lambdaTest[key].build = `bootstrap-${ENV.GITHUB_SHA ? `${ENV.GITHUB_SHA.slice(0, 7)}-` : ''}${new Date().toISOString()}`
Expand Down

0 comments on commit 80e56a8

Please sign in to comment.