Created
December 19, 2019 00:37
-
-
Save steerpike/de651c1f7eaf033383d3fb815ee3aaa7 to your computer and use it in GitHub Desktop.
Run Cypress after extracting ENV variables on a server to determine a dynamic URL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CYPRESS_baseUrl="https://$LOGNAME-op.$(grep wildcard_cname /etc/salt/grains | cut -d ' ' -f 2)" ./node_modules/.bin/cypress run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment