Skip to content
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

Comment out org test #321

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions tda/desktop_web/test_organization.py
Original file line number Diff line number Diff line change
@@ -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())