features/pull.feature in salesforce-deploy-tool-2.1.1 vs features/pull.feature in salesforce-deploy-tool-3.1.0
- old
+ new
@@ -7,30 +7,30 @@
Scenario: Retrieve code from the default sandbox
When I run `sf pull`
Then the exit status should be 0
And the output should match:
"""
- ^INFO: Pulling changes from env_a using url https://test.salesforce.com.*OK
+ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com.*OK
"""
Scenario: Retrieve code from a specific sandbox
- When I run `sf pull -s env_b`
+ When I run `sf pull -s testEnvAlt`
Then the exit status should be 0
And the output should match:
"""
- ^INFO: Pulling changes from env_b using url https://test.salesforce.com.*OK
+ ^INFO: Pulling changes from testEnvAlt using url https://test.salesforce.com.*OK
"""
Scenario: Retrieve code from a sandbox using a specific URL
Given I set the environment variables to:
| variable | value |
| SFDT_SALESFORCE_URL | https://invalid_url.salesforce.com |
When I run `sf pull`
Then the exit status should be 1
And the output should match:
"""
- ^INFO: Pulling changes from env_a using url https://invalid_url.*
+ ^INFO: Pulling changes from testEnv using url https://invalid_url.*
"""
Scenario: Retrieve code from a production
When I run `sf pull -s prod`
Then the exit status should be 0
@@ -43,17 +43,17 @@
When I run `sf pull -d`
Then the exit status should be 0
And the output should contain "BUILD SUCCESSFUL"
And the output should match:
"""
- ^INFO: Pulling changes from env_a using url https://test.salesforce.com.*
+ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com.*
"""
Scenario: Retrieve code from a specific sandbox with debug output
- When I run `sf pull -s env_a -d`
+ When I run `sf pull -s testEnv -d`
Then the exit status should be 0
And the output should contain "BUILD SUCCESSFUL"
And the output should match:
"""
- ^INFO: Pulling changes from env_a using url https://test.salesforce.com.*$
+ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com.*$
"""