Content
View differences
Updated by Christophe Bliard about 1 year ago
#### **Context**
In the initial 15.4 release, automatically-scheduled work package with predecessors only allowed users to change finish date by changing duration. We're now making it possible for users to also input a finish date, or click on the mini calendar below to change the finish date: ##60667
Although this is a small UI-level change, it requires additional front-end logic. To make sure the date picker continues to function properly, there are a number of new scenarios (described here) to consider and test.
In all these scenarios, Saturday and Sunday are non-working days.
#### Scenario 1: Change finish date (manual input) π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Manually enter 2025-04-23
* Expected result:
* Finish date is set to Wed, 23 April 2025
* Duration is 12
<br>
#### Scenario 2: Change finish date (click on calendar) π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* With Finish date active, click on Wed, 23 April 2025
* Expected result:
* Finish date is set to Wed, 23 April 2025
* Duration is 12
<br>
#### Scenario 3: Change duration π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Manually input duration of 10
* Expected result:
* Finish date is set to Mon, 21 April 2025
* Duration is 10
<br>
#### Scenario 4: Change finish date, working days only off π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* With Finish date active, click on Wed, 23 April 2025
* Set Working days only to off
* Expected result:
* Finish date remains Wed, 23 April 2025
* Duration is 16
<br>
#### Scenario 5: Change duration, working days only off π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* Set Working days only off
* Expected result:
* Finish date is changed to Mon, 21 April 2025
* Duration remains 14 days
<br>
#### Scenario 6: Launch date-picker with duration but change finish date π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Launch date picker by clicking on the Duration field
* With Duration field active, click on Thu, 24 April 2025
* Expected result:
* Finish date is set to Thu, 24 April 2025
* Duration is 13
<br>
#### Scenario 7: Remove finish date π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Clear finish date by clicking on the clear icon
* Expected result:
* Finish date is cleared
* Start date is still Tue, 8 Apr 2025
* Duration is cleared
<br>
#### Scenario 8: Switch to manual, new finish date π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Finish date active, click on Wed, 23 April 2025
* Expected result:
* Finish date is set to Wed, 23 April 2025
* Duration is 12
* Mode is manual
<br>
#### Scenario 9: Switch to manual, new start date (in the past), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Wed, 2 April 2025
* New start date is set, duration changes to 12
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Duration reverts to 8 days
* Finish date is maintained (Thu, 17 Apr 2025)
* Mode is automatic (has a predecessor)
<br>
#### Scenario 10: Switch to manual, new start date (in the future), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Mon, 14 April 2025
* New start date is set, duration changes to 4
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Duration reverts to 8 days
* Finish date is maintained (Thu, 17 Apr 2025)
* Mode is automatic (has a predecessor)
<br>
#### Scenario 11: Switch to manual, new start and finish date (both before constraint), back to automatic π’ π
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Tue, 1 AprilΒ 2025
* New start date is set, duration changes to 13, Finish date is now active
* Click on Mon, 7 April 2025
* New finish date is set, duration changes to 5
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Finish date is kept (Mon, 7 April 2025), but an error is shown explaining that this is not possible
* Duration will be set to 0 , and an error is shown
* Finish date is active
* Mode is automatic (predecessor)
<br>
#### Scenario 12: Switch to manual, new start (before constraint) and finish date (after constraint), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Tue, 1 AprilΒ 2025
* New start date is set, duration changes to 13, Finish date is now active
* Click on Thu, 24 April 2025
* New finish date is set, duration changes to 18
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Finish date is maintained (Thu, 24 April 2025)
* Duration is 13 days
* Mode is automatic (has a predecessor)
#### Scenario 13a: Switch to manual, change duration (start date unmodified), back to automatic π’ π
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* Change mode back to Automatic
* Expected result:
* Finish date is maintained (Fri, 25 April 2025)
* Duration is maintained 14 days 14days
* Mode is automatic (has a predecessor)
<br>
#### Scenario 13b: Switch to manual, change duration and start date, back to automatic π’ π
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* With Start date active, click on 4 Apr 2025
* Start date is set to 4 April 2025
* Finish date is set to 23 April 2025
* Change mode back to Automatic
* Expected result:
* Start date is reset (Tue, 8 of April 2025)
* Duration is maintained 14
* Finish date is maintained 25 April 2025 _(to be verified)_
* Mode is automatic (has a predecessor)
<br>
#### Scenario 14a: Switch to manual, change duration and non-working days, back to automatic π’ π
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* Set Working days only off
* Duration is maintained
* Finish date automatically changes to Mon, 21 Apr, 2025
* Change mode back to Automatic
* Expected result:
* Start date is maintained to derived (8 April)
* Duration is maintained (14 days)
* Finish date is maintained (Mon, 21 April 2025)
* Working days only off
* Mode is automatic (has a predecessor)
<br>
#### Scenario 14b: Switch to manual, change finish date and non-working days, back to automatic π’ π
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Finish date active, click on Fri, 25 April 2025
* Duration automatically changes to 14
* Set Working days only off
* Duration automatically changes to 18
* π΄ Henriette: This will not work because of bug: ##62641
* Change mode back to Automatic
* Expected result:
* Start date is maintained to derived (8 April)
* Duration is 18 days
* Finish date is maintained (Fri, 25 April 2025)
* Working days only off
* Mode is automatic (has a predecessor)
In the initial 15.4 release, automatically-scheduled work package with predecessors only allowed users to change finish date by changing duration. We're now making it possible for users to also input a finish date, or click on the mini calendar below to change the finish date: ##60667
Although this is a small UI-level change, it requires additional front-end logic. To make sure the date picker continues to function properly, there are a number of new scenarios (described here) to consider and test.
In all these scenarios, Saturday and Sunday are non-working days.
#### Scenario 1: Change finish date (manual input) π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Manually enter 2025-04-23
* Expected result:
* Finish date is set to Wed, 23 April 2025
* Duration is 12
<br>
#### Scenario 2: Change finish date (click on calendar) π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* With Finish date active, click on Wed, 23 April 2025
* Expected result:
* Finish date is set to Wed, 23 April 2025
* Duration is 12
<br>
#### Scenario 3: Change duration π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Manually input duration of 10
* Expected result:
* Finish date is set to Mon, 21 April 2025
* Duration is 10
<br>
#### Scenario 4: Change finish date, working days only off π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* With Finish date active, click on Wed, 23 April 2025
* Set Working days only to off
* Expected result:
* Finish date remains Wed, 23 April 2025
* Duration is 16
<br>
#### Scenario 5: Change duration, working days only off π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* Set Working days only off
* Expected result:
* Finish date is changed to Mon, 21 April 2025
* Duration remains 14 days
<br>
#### Scenario 6: Launch date-picker with duration but change finish date π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Launch date picker by clicking on the Duration field
* With Duration field active, click on Thu, 24 April 2025
* Expected result:
* Finish date is set to Thu, 24 April 2025
* Duration is 13
<br>
#### Scenario 7: Remove finish date π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Clear finish date by clicking on the clear icon
* Expected result:
* Finish date is cleared
* Start date is still Tue, 8 Apr 2025
* Duration is cleared
<br>
#### Scenario 8: Switch to manual, new finish date π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Finish date active, click on Wed, 23 April 2025
* Expected result:
* Finish date is set to Wed, 23 April 2025
* Duration is 12
* Mode is manual
<br>
#### Scenario 9: Switch to manual, new start date (in the past), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Wed, 2 April 2025
* New start date is set, duration changes to 12
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Duration reverts to 8 days
* Finish date is maintained (Thu, 17 Apr 2025)
* Mode is automatic (has a predecessor)
<br>
#### Scenario 10: Switch to manual, new start date (in the future), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Mon, 14 April 2025
* New start date is set, duration changes to 4
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Duration reverts to 8 days
* Finish date is maintained (Thu, 17 Apr 2025)
* Mode is automatic (has a predecessor)
<br>
#### Scenario 11: Switch to manual, new start and finish date (both before constraint), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Tue, 1 AprilΒ 2025
* New start date is set, duration changes to 13, Finish date is now active
* Click on Mon, 7 April 2025
* New finish date is set, duration changes to 5
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Finish date is kept (Mon, 7 April 2025), but an error is shown explaining that this is not possible
* Duration will be set to 0 , and an error is shown
* Finish date is active
* Mode is automatic (predecessor)
<br>
#### Scenario 12: Switch to manual, new start (before constraint) and finish date (after constraint), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Start date active, click on Tue, 1 AprilΒ 2025
* New start date is set, duration changes to 13, Finish date is now active
* Click on Thu, 24 April 2025
* New finish date is set, duration changes to 18
* Change mode back to Automatic
* Expected result:
* Start date reverts to derived date/constraint: Tue, 8 April 2025
* Finish date is maintained (Thu, 24 April 2025)
* Duration is 13 days
* Mode is automatic (has a predecessor)
#### Scenario 13a: Switch to manual, change duration (start date unmodified), back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* Change mode back to Automatic
* Expected result:
* Finish date is maintained (Fri, 25 April 2025)
* Duration is maintained 14 days
* Mode is automatic (has a predecessor)
<br>
#### Scenario 13b: Switch to manual, change duration and start date, back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* With Start date active, click on 4 Apr 2025
* Start date is set to 4 April 2025
* Finish date is set to 23 April 2025
* Change mode back to Automatic
* Expected result:
* Start date is reset (Tue, 8 of April 2025)
* Duration is maintained 14
* Finish date is maintained 25 April 2025
* Mode is automatic (has a predecessor)
<br>
#### Scenario 14a: Switch to manual, change duration and non-working days, back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* Manually input duration of 14
* Finish date automatically changes to Fri, 25 Apr, 2025
* Set Working days only off
* Duration is maintained
* Finish date automatically changes to Mon, 21 Apr, 2025
* Change mode back to Automatic
* Expected result:
* Start date is maintained to derived (8 April)
* Duration is maintained (14 days)
* Finish date is maintained (Mon, 21 April 2025)
* Working days only off
* Mode is automatic (has a predecessor)
<br>
#### Scenario 14b: Switch to manual, change finish date and non-working days, back to automatic π’
* Setup
* Mode: Auto (has a predecessor)
* Working days only: on
* Start date: Tue, 8 Apr 2025 (derived)
* Finish date: Thu, 17 Apr 2025
* Duration: 8
* Change:
* Change mode to Manual
* With Finish date active, click on Fri, 25 April 2025
* Duration automatically changes to 14
* Set Working days only off
* Duration automatically changes to 18
* π΄ Henriette: This will not work because of bug: ##62641
* Change mode back to Automatic
* Expected result:
* Start date is maintained to derived (8 April)
* Duration is 18 days
* Finish date is maintained (Fri, 25 April 2025)
* Working days only off
* Mode is automatic (has a predecessor)