From 8db849c2e9aaff3ee1d2f9ba2508c3761ba824b2 Mon Sep 17 00:00:00 2001 From: Neil Manvar Date: Mon, 13 Nov 2023 12:25:50 -0800 Subject: [PATCH 1/2] comment out org test --- tda/desktop_web/test_organization.py | 39 +++++++++++++++------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/tda/desktop_web/test_organization.py b/tda/desktop_web/test_organization.py index b338c1686..9d1cb83f6 100644 --- a/tda/desktop_web/test_organization.py +++ b/tda/desktop_web/test_organization.py @@ -1,24 +1,27 @@ -import time -import pytest -import sentry_sdk -from urllib.parse import urlencode +# ### COMMENTING OUT since we know have /products-fes (which generates uncompressed asset perf-issue ###) -def test_organization(desktop_web_driver, endpoints, random, batch_size, backend, sleep_length): - sentry_sdk.set_tag("pytestName", "test_organization") - for endpoint in endpoints.react_endpoints: - endpoint_organization = endpoint + "/organization" - sentry_sdk.set_tag("endpoint", endpoint_organization) +# import time +# import pytest +# import sentry_sdk +# from urllib.parse import urlencode - query_string = { - # only run against 'flask' - 'backend': backend(include=['flask']) - } - url = endpoint_organization + '?' + urlencode(query_string) +# def test_organization(desktop_web_driver, endpoints, random, batch_size, backend, sleep_length): +# sentry_sdk.set_tag("pytestName", "test_organization") - for i in range(batch_size): +# for endpoint in endpoints.react_endpoints: +# endpoint_organization = endpoint + "/organization" +# sentry_sdk.set_tag("endpoint", endpoint_organization) - desktop_web_driver.get(url) +# query_string = { +# # only run against 'flask' +# 'backend': backend(include=['flask']) +# } +# url = endpoint_organization + '?' + urlencode(query_string) - # images are being loaded in /about from Cloud Storage - time.sleep(sleep_length()) +# for i in range(batch_size): + +# desktop_web_driver.get(url) + +# # images are being loaded in /about from Cloud Storage +# time.sleep(sleep_length()) From c5d0f29ef89e8ed88e34ac3531406ebe659a4142 Mon Sep 17 00:00:00 2001 From: Neil Manvar Date: Mon, 13 Nov 2023 12:27:14 -0800 Subject: [PATCH 2/2] fix ( --- tda/desktop_web/test_organization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tda/desktop_web/test_organization.py b/tda/desktop_web/test_organization.py index 9d1cb83f6..79b347679 100644 --- a/tda/desktop_web/test_organization.py +++ b/tda/desktop_web/test_organization.py @@ -1,4 +1,4 @@ -# ### COMMENTING OUT since we know have /products-fes (which generates uncompressed asset perf-issue ###) +# ### COMMENTING OUT since we know have /products-fes (which generates uncompressed asset perf-issue) ### # import time