Questions tagged [saucelabs]

Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing.

Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing. Automated testing on Sauce Labs is compatible with Selenium and JS testing frameworks.

527 questions
6
votes
1 answer

karma-sauce-launcher disconnects every test run resulting in failed runs with IE and Safari

I have been having this exact issue for months now, through multiple versions of each component involved (karma, socket.io, sauce-connect). Currently I'm running on Karma 12.16. Basically, when using…
junken
  • 2,013
  • 1
  • 14
  • 9
6
votes
2 answers

Pass BrowserMob Proxy to Sauce Labs - "The proxy server is refusing connections" Error

I have been trying to pass BrowserMob proxy to Sauce Labs with no luck. Here's what I have tried: Start proxy server sh browsermob-proxy -port 9090 Start proxy curl -X POST http://localhost:9090/proxy {"port":9091} Start sauce connect, and pass…
Mingyu
  • 31,751
  • 14
  • 55
  • 60
5
votes
2 answers

Concourse CI and Build number

I'm moving from Jenkins to using using Concourse CI to run my Sauce labs e2e tests. Sauce labs groups tests together that have the same build number string: name: 'Chrome XS', browserName: 'chrome', tunnelIdentifier:…
retroman
  • 175
  • 1
  • 11
5
votes
2 answers

How to use saucelabs with nightwatch?

I have the following configuration in my nightwatch.json file "saucelabsChrome": { "selenium_host": "ondemand.saucelabs.com", "selenium_port": 80, "username": "example", "access_key": "--REDACTED---", "desiredCapabilities": { …
Brown A
  • 929
  • 4
  • 14
  • 21
5
votes
0 answers

How to test deep linking on iOS with SauceLabs and Appium and Cucumber

So I'm trying to test deep links. The process we use locally is to first run a simple test (checking that the app loaded) with the appium --no-reset cap. This ensures that the app is present on the simulator when we try to navigate to it from…
Joe Susnick
  • 6,544
  • 5
  • 44
  • 50
5
votes
1 answer

Protractor File Upload with Saucelabs

I'm testing an AngularJS project using protractor. I have an image file upload tests which is working and passing correctly on my local mac machine. However, when I run the same test via saucelabs the test fails. Saucelabs is having problems…
Chuckos
  • 53
  • 3
5
votes
2 answers

'Angular could not be found' when integrating Travis/Sauce Labs

I'm working to get Travis CI to run Protractor tests using Sauce Labs. The tunneling works fine, and my Express server clearly starts and stays up at http://localhost:9000, but my Protractor tests quickly fail with the error Error: Angular could not…
spamguy
  • 1,575
  • 2
  • 17
  • 37
5
votes
1 answer

Jenkins build multi-configuration project with MTAF not working on Sauce Labs

I configured the Magento Test Automation Framework (MTAF) with Jenkins and Sauce Labs and everything is working well. However, when building a multi-configuration project, I have selected two more browsers from the browser list in Jenkins' job…
5
votes
3 answers

Dynamically setting the $browsers static property in Sauce.io phpunit selenium tests

I am setting up some browser testing using SauceLabs. I've been able to get tests running locally and via Sauce, so I am now trying to integrate it with my Jenkins install to trigger builds and browser tests automatically. Most of this is all…
Andre Lackmann
  • 686
  • 6
  • 14
4
votes
1 answer

Is there way to disable CORS check using RemoteWebDriver for SauceLabs

Question says it all, I m trying to execute some selenium tests on SauceLabs, the test loads a webpage that makes a cross domain request. I was thinking is there a way to disable CORS, in platform-independent way through code.
VishalDevgire
  • 4,232
  • 10
  • 33
  • 59
4
votes
1 answer

Permission issue for appium chrome borwser

I am implementing an appium test on remote android driver, with chrome browser for loading urls. Some of the Urls are pdfs, and chrome asks to store those files. and appears that chrome doesnt have access to filesystem to store those files, which…
Anand Vaidya
  • 1,374
  • 11
  • 26
4
votes
0 answers

Detox with Saucelabs?

Curious to see if anybody has successfully configured the Detox automation framework with Saucelabs. I see it is mentioned on their site but they offer no support in regards to setting it up. I'm not really sure where to start as there seems to be…
4
votes
1 answer

How can you test a web app in a Windows 10 touch screen environment? (browserstack and sauselabs don't work)

I'm trying to test a website using Windows 10's touchscreen gestures. We don't actually have a Windows 10 device with a touchscreen, but www.browserstack.com and www.saucelabs.com/‎ do not have this option. What's the right way to test via Windows…
Eric Baldwin
  • 3,341
  • 10
  • 31
  • 71
4
votes
1 answer

Can't launch protractor tests on saucelabs from teamcity

I am trying to run my automated tests using protractor from teamcity on saucelabs. If i use the exact same config and capabilities from my local machine, the tests run on saucelabs vm perfectly. If I try launching them from teamcity, the vm are not…
Cratein
  • 453
  • 5
  • 15
4
votes
2 answers

Quit driver after each Geb Spock test

I am running Geb/Spock tests in Sauce Connect, and I would prefer to have unique instances of the RemoteWebDriver per test. This way, the Sauce reports would be divided by test, which makes it easy to diagnose failures. I'm not concerned (right…
jonsie_araki
  • 221
  • 3
  • 8
1
2
3
35 36