Skip to content

Commit

Permalink
Merge pull request #247 from AbuBakkar32/Abu-Bakkar
Browse files Browse the repository at this point in the history
test automation
  • Loading branch information
AbuBakkar32 authored Jun 10, 2024
2 parents 54b098a + 3d946ba commit e840f08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Automation/whenToMeetAutomationScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

def create_event(driver):
# Set the date range (15-20 June)
for week in range(1, 6):
for week in range(1, 3):
for day in range(1, 6):
if week == 2:
if week == 1:
driver.find_element(By.ID, f"Day-{week}-7").click()
if week == 3:
driver.find_element(By.ID, f"Day-3-{day}").click()
if week == 2:
driver.find_element(By.ID, f"Day-2-{day}").click()

# Enter event name
event_name_field = driver.find_element(By.ID, "NewEventName")
Expand Down

0 comments on commit e840f08

Please sign in to comment.