[Koha-bugs] [Bug 17015] New Koha Calendar

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 24 21:00:48 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17015

--- Comment #28 from Mehdi Hamidi <mehdi.hamidi at inlibro.com> ---
Hello everyone, we added a more detailed test plan for the UI:
- Go tools and choose Discrete Calendar
- The field title is optional.

[Cant change past]
- Choose any date from the calendar that is yesterday or older.
- Change it's details and save. 
Result: **Nothing should change.**

[change from past to future]
- Choose any date from the calendar that is yesterday or older.
- Choose another date in the To date field that is today or in the future.
- Update the details and save.
Result: **Only dates starting from today are affected.**

Adding holidays
[Single holiday]
- Choose any date from the calendar that is today or in the future.
- Choose another date in the To date field that is in the future (optional, for
range only).
- Change Date type to : exception.
- Save.
Result: **All dates in the range should be marked red for unique holiday.**

[Weekly]
- Choose any Sunday from the calendar that is in the past or future.
- Change Date type to : Weekly.
- Save.
Result: **All upcomming (starting from today) Sundays will be holidays.**
PS: Open and close hour will be affected **to all Sundays** unless inputs are
empty.

[Fixed]
- Choose any date from the calendar that is today or in the future.
- Change Date type to : Fixed.
- Save
Result: **The selected date and the same day in the future (if available in
Calendar) will be holiday.**

[Fixed from the past]
- Choose any date from the calendar that is in the past.
- Change Date type to : Fixed.
- Save
Result: **The selected date  is unchanged but the same day in the future (if
available in Calendar) will be holiday.**

Delete holidays
[Single date]
- Choose any date from the calendar that is today or in the future and is also
a holiday.
- Change Date type to : Normal day.
- Save.
Result: **The selected date should be a normal day**

[Range of dates]
- Choose any date from the calendar that is today or in the future.
- Choose another date in the To date field that is in the future.
- Change date type to : Normal day
- Save.
Result: **The selected dates should be a normal days**

[Delete type]
- Choose any date from the calendar that is today or in the future and is a
weekly or a fixed holiday.
- Change date type to : Normal day.
- Check : Delete this type CheckBox
- Save.
Result: -Weekly, all upcoming weekly holidays if that day will be normal days.
            Example : all upcoming Sundays will be normal days
        -Fixed, all upcoming fixed holidays of that day will be normal days. 
            Example : all upcoming 25 December will be normal days

[Copy dates, 1 day to multiple]
- Choose starting date from the calendar.
- Choose en date in the To date field.
- Select Copy to different dates
    - Choose starting date.
    - Choose end date date.
- Save.
Result: **The selected day details will be copied to all the dates in the
range.**

[Copy dates, 1 week to 1 week]
- Choose starting date from the calendar.
- Choose en date in the To date field to make a whole week(7 days).
- Select Copy to different dates
    - Choose starting date.
    - Choose end date date to make a whole week(7 days).
- Save.
Result: **Every day of week from the first range will be applied to the second
range. Independently of the order. Exemple : Sunday1 to Sunday2, Monday1 to
Monday2, etc.**

[Copy dates, multiple dates to multiple dates]
- Choose start date from the calendar.
- Choose end date in the To date field.
- Select Copy to different dates
    - Choose start date.
    - Choose end date date to have the same number of days as the first range
- Save.
Result: **Each day from the first range will be applied the second range in the
same order. Exemple : days1 to day1, day2 to day2, etc.**

[Copy to branch]
 - Select any date to make the side panel appear.
 - Select : Copy calendar to another branch.
 - Choose a calendar to copy to.
 - Save.
 - Choose copied to calendar in the dropdown : Define the holidays for.
Result: **All of the information in the currect calendar will be copied to the
chosen calendar**

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list