mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59557
[Bug 1892283] [NEW] Behat: Write test for datepicker
Public bug reported:
Automating a manual test. This is from Bug 1744191: The date picker is
updated with the bootstrap-datepicker. However that original bug is for
code to update the file browser consistently across the site, so is not
specifically related to the datepicker. What we need here is a test for
the basic functionality of the datepicker.
1. User logged in
2. User browse to Main menu > Content > Resume
3. Confirm that the date is in the same format as when created using the old date picker ✔
4. Confirm the date picker is displayed when the user clicks inside the date field ✔
5. Confirm the user can enter a date by typing in a date using the keyboard ✔
6. Confirm the user can change a day inside the date picker by clicking the adjacent number in the calendar ✔
7. Confirm the user can change the month by
a. Clicking the forward > icon ✔
b. Clicking the month and year located in centre of modal window at the top ✔
c. Confirm months are now displayed instead of days and year is displayed in centre of modal window at the top ✔
8. Confirm the user can change the year inside the date picker by clicking the month and year located in centre of modal window at the top ✔
9. Confirm years are now displayed instead of days and a year range is displayed in centre of modal window at the top ✔
10. Confirm the user can delete the date by clicking the trash can icon ✔
** Affects: mahara
Importance: Undecided
Assignee: Rangi Daymond (rangid)
Status: New
** Tags: behat-test
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1892283
Title:
Behat: Write test for datepicker
Status in Mahara:
New
Bug description:
Automating a manual test. This is from Bug 1744191: The date picker is
updated with the bootstrap-datepicker. However that original bug is
for code to update the file browser consistently across the site, so
is not specifically related to the datepicker. What we need here is a
test for the basic functionality of the datepicker.
1. User logged in
2. User browse to Main menu > Content > Resume
3. Confirm that the date is in the same format as when created using the old date picker ✔
4. Confirm the date picker is displayed when the user clicks inside the date field ✔
5. Confirm the user can enter a date by typing in a date using the keyboard ✔
6. Confirm the user can change a day inside the date picker by clicking the adjacent number in the calendar ✔
7. Confirm the user can change the month by
a. Clicking the forward > icon ✔
b. Clicking the month and year located in centre of modal window at the top ✔
c. Confirm months are now displayed instead of days and year is displayed in centre of modal window at the top ✔
8. Confirm the user can change the year inside the date picker by clicking the month and year located in centre of modal window at the top ✔
9. Confirm years are now displayed instead of days and a year range is displayed in centre of modal window at the top ✔
10. Confirm the user can delete the date by clicking the trash can icon ✔
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1892283/+subscriptions
Follow ups