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.

445 questions
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
  • 26,145
  • 13
  • 50
  • 58
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
  • 115
  • 1
  • 8
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
  • 849
  • 3
  • 13
  • 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
  • 5,298
  • 4
  • 35
  • 47
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,512
  • 2
  • 17
  • 34
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
  • 646
  • 6
  • 13
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
  • 2,993
  • 8
  • 27
  • 61
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
  • 443
  • 5
  • 14
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
4
votes
1 answer

Python- Using Proxy(Browsermob) with Remote Webdriver

I'm trying to check on the network traffic on a site using Browsermob Proxy. By running the following: I've found that the Proxy server is refusing connections: "the proxy server is refusing connections" "firefox is configured to use a proxy that is…
user3662456
  • 217
  • 2
  • 10
4
votes
1 answer

TravisCI and SauceLabs - file does not exist on the file system

I have a project that has Protractor tests which are executed by TravisCI via SauceLabs. One of the tests involve "uploading" a file: it('should not allow "image/jpeg" file', function () { pathToFile = path.resolve(__dirname, 'file.jpg'); …
Greg
  • 30,678
  • 16
  • 63
  • 84
4
votes
5 answers

Protractor: timed out after 10000 msec waiting for spec to complete

I have several protractor tests and sometimes I get a error saying: Message: timeout: timed out after 10000 msec waiting for spec to complete Stacktrace: undefined It can be randomly happening on some tests. I usually test on…
3
votes
0 answers

How to intentionally make my browser slower on SauceLabs?

I'm writing a UI automated test that runs on SauceLabs (chrome browser) and want to make sure my test is handling when web pages are very slow at loading.
Qma
  • 113
  • 8
1
2
3
29 30