diff --git a/functional_tests/features/shadowsocks.feature b/functional_tests/features/shadowsocks.feature index d7f99b474..e83a476ce 100644 --- a/functional_tests/features/shadowsocks.feature +++ b/functional_tests/features/shadowsocks.feature @@ -36,9 +36,9 @@ Scenario: Disable shadowsocks application Scenario: Backup and restore shadowsocks Given the shadowsocks application is enabled - When I configure shadowsocks with server beforebackup.example.com and password beforebackup123 + When I configure shadowsocks with server example.com and password beforebackup123 And I create a backup of the shadowsocks app data - And I configure shadowsocks with server afterbackup.example.com and password afterbackup123 + And I configure shadowsocks with server example.org and password afterbackup123 And I restore the shadowsocks app data backup Then the shadowsocks service should be running - And shadowsocks should be configured with server beforebackup.example.com and password beforebackup123 + And shadowsocks should be configured with server example.com and password beforebackup123 diff --git a/functional_tests/step_definitions/application.py b/functional_tests/step_definitions/application.py index e1e517ff9..f64dd87a7 100644 --- a/functional_tests/step_definitions/application.py +++ b/functional_tests/step_definitions/application.py @@ -107,7 +107,7 @@ def select_domain_name(browser, app_name, domain_name): @given('the shadowsocks application is configured') def configure_shadowsocks(browser): - application.configure_shadowsocks(browser, 'some.shadow.tunnel', + application.configure_shadowsocks(browser, 'example.com', 'fakepassword')