-
-
Notifications
You must be signed in to change notification settings - Fork 5
fix: test for Google Analytics message - cli#3536 #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: test for Google Analytics message - cli#3536 #114
Conversation
tests/build/common/logtrace_tests.py
Outdated
@@ -36,10 +36,17 @@ def test_101_create_project_log_trace(self): | |||
|
|||
def test_102_platform_add_log_trace(self): | |||
Tns.create_app(self.app_name, update_modules=False) | |||
|
|||
# Disable tracking in Google Analytics https://github.com/NativeScript/nativescript-cli/issues/3536 | |||
Tns.run_tns_command("usage-reporting disable") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we disable usage reporting before all tests.
Not sure what will happen if it is disabled and we disable it again (it might be ok, just need to check it).
Here we do some enable/disable:
https://github.com/NativeScript/nativescript-cli-tests/blob/master/tests/build/common/usage_reporting_tests.py
May be we can move/extend tests there (all tests in UsageReportingTests
class are specially for this feature).
May be we can also add test for this specific case: |
Move the test for issue nativescript-cli#3536 in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done.
* fix: test for Google Analytics message - cli#3536 * fix: Move tests. * add test for local paths in Analytics
* fix: test for Google Analytics message - cli#3536 * fix: Move tests. * add test for local paths in Analytics
Test for issue: NativeScript/nativescript-cli#3536
Note: PR should be merged after the fix is in master a.k.a naticescript-cli release is merged into master.