Compare commits

..

No commits in common. "4e0d97afb4b04701c21fdb69816c3f8d58ee8c3d" and "2ce0aa95b279d2f9234495bf727538ca0183e8c4" have entirely different histories.

3 changed files with 3 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,5 +1,3 @@
.vscode
.DS_Store
venv/ venv/
__pycache__/ __pycache__/
*.pyc *.pyc

View File

@ -76,9 +76,9 @@ def test_lecturer_can_post_assignment(driver, url, restore_database):
) )
elem.click() elem.click()
elem = driver.find_element(By.NAME, 'deadlinedate') elem = driver.find_element(By.NAME, 'deadlinedate')
elem.send_keys('002025/05/30') elem.send_keys('05/30/2025')
elem = driver.find_element(By.NAME, 'deadlinetime') elem = driver.find_element(By.NAME, 'deadlinetime')
elem.send_keys('23:59') elem.send_keys('11:53PM')
elem = driver.find_element(By.NAME, 'title') elem = driver.find_element(By.NAME, 'title')
elem.send_keys('Take-home quiz 1') elem.send_keys('Take-home quiz 1')
elem = driver.find_element(By.NAME, 'instructions') elem = driver.find_element(By.NAME, 'instructions')

View File

@ -11,7 +11,7 @@ def restore_database():
Benefit: we can reproduce the same test result. Benefit: we can reproduce the same test result.
''' '''
PASSWORD = 'p-@va9' # root password PASSWORD = 'root' # root password
DB_NAME = 'lrr' # database name used for LRR DB_NAME = 'lrr' # database name used for LRR
# commands used to import data to DB_NAME # commands used to import data to DB_NAME