Skip to content

Commit

Permalink
Run Jeremy's tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard Szabo committed Dec 11, 2024
1 parent 69400c1 commit ad071d2
Showing 1 changed file with 49 additions and 1 deletion.
50 changes: 49 additions & 1 deletion tubular/scripts/dd_synthetic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,55 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel):
# Prepare and trigger the synthetic test request
# PUBLIC_TEST_ID = "sad-hqu-h33"
# tests_to_run = json.loads(os.getenv("TESTS_TO_RUN"))
tests_to_run = [{"name": "Hello, world test", "id": "sad-hqu-h33"}]
tests_to_run = [{
"name":
'''
edX Smoke Test - [Anonymous user] An anonymous user is directed to the
Logistration page (authn.edx.org) when trying to access content behind log-in wall
''',
"id": "6tq-u28-hwa"
},
{
"name":
'''
edX Smoke Test - [Unenrolled student] An unenrolled student cannot load a
course’s landing page, and sees the “Enroll Now” screen
''',
"id": "zkx-36f-kui"
},
{
"name":
'''
[Synthetics] edX Smoke Test - [Audit student] An enrolled audit student can access
a course’s landing page, course content, and course forum
''',
"id": "jvx-2jw-agj"
},
{
"name":
'''
[Synthetics] edX Smoke Test - [Audit student] An enrolled audit student cannot load
a graded problem, and sees the upsell screen
''',
"id": "75p-sez-5wg"
},
{
"name":
'''
[Synthetics] edX Smoke Test - [Verified student] An enrolled verified student can
access a course’s landing page, course content, and course forum
''',
"id": "zbz-r28-jjx"
},
{
"name":
'''
[Synthetics] edX Smoke Test - [Verified student] A verified student can
access a graded course problem
''',
"id": "tck-hrr-ubp"
},
]
logging.info(f"Running the following tests: {str(tests_to_run)}")

dd_client.trigger_synthetic_tests(tests_to_run)
Expand Down

0 comments on commit ad071d2

Please sign in to comment.