Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Detect (BrowserStack) launcher within tests #182

Open
drzraf opened this issue Nov 23, 2020 · 1 comment
Open

Detect (BrowserStack) launcher within tests #182

drzraf opened this issue Nov 23, 2020 · 1 comment

Comments

@drzraf
Copy link

drzraf commented Nov 23, 2020

I'm using Jasmine and found that when run with the BrowserStack karma launcher, test taking 4 seconds locally would take ~30 seconds.
I'd like to dynamically adapt jasmine.DEFAULT_TIMEOUT_INTERVAL (increase it only for BrowserStack).
Is there anything (within window.*?) I could rely on in order to tweak this setting dynamically?

@drzraf drzraf changed the title Detect BrowserStack launch within tests Detect (BrowserStack) launcher within tests Nov 23, 2020
@RohanImmanuel
Copy link

@drzraf the browsers used on BrowserStack are identical to the ones used locally. Hence you would find no difference in the window objects between the two browsers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants