Cypress Test Runner avatar
Cypress Test Runner
Try for free

No credit card required

View all Actors
Cypress Test Runner

Cypress Test Runner

valek.josef/cypress-test-runner
Try for free

No credit card required

Run your Cypress tests on the Apify Platform effectively and easily. Just set up your test environment using a user-friendly UI and let the platform do the rest.

User avatar

Ability to use proxy

Open

esaborit4code opened this issue
5 months ago

I'm not sure if this is even possible since, as per the Cypress docs (https://docs.cypress.io/guides/references/proxy-configuration), it reads proxy settings from environment variables and Apify docs doesn't make very clear to me if adding a custom environment variable to the Actor would work as expected (see https://docs.apify.com/platform/actors/development/programming-interface/environment-variables#custom-environment-variables) or adding proxy settings to the input schema would be the way (https://docs.apify.com/platform/actors/development/actor-definition/input-schema/specification/v1#object). Anyway, I think it's worth a try.

Thanks!

User avatar

Hi, thanks for the suggestion, we will look at it and let you know!

User avatar

Hi! Thanks for the suggestion. Currently I don't have any plans to extend the functionality of this Actor.

The environment variables on Apify platform wouldn't work for this, as the environment variables are defined on Actor level and would be shared by all users of the Actor. Possible approach could be to add environment variables section to input (say as .env file contents), and put them to environment before cypress is started. Or maybe even have a special field on input for proxy env variable.

The repo is public and PRs are welcome!

Or You can use the cypress template to create an Actor that would fit your use-case.

I'd leave this issue open, as a feature request.

Developer
Maintained by Apify
Actor metrics
  • 6 monthly users
  • 87.2% runs succeeded
  • 0.0 days response time
  • Created in Apr 2023
  • Modified 3 months ago