diff --git a/tests/e2e/test_mobile_week_ahead_release.py b/tests/e2e/test_mobile_week_ahead_release.py index ed653d8..f3432d8 100644 --- a/tests/e2e/test_mobile_week_ahead_release.py +++ b/tests/e2e/test_mobile_week_ahead_release.py @@ -104,11 +104,12 @@ def test_release_artifact_plans_seven_touch_safe_mobile_dates( private_title = "Private customer planning" tomorrow = (date.today() + timedelta(days=1)).strftime("%Y%m%d") excluded = (date.today() + timedelta(days=2)).strftime("%Y%m%d") + added = (date.today() + timedelta(days=4)).strftime("%Y%m%d") calendar = ( "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\n" f"SUMMARY:{private_title}\r\nDTSTART:{tomorrow}T100000\r\n" f"DTEND:{tomorrow}T110000\r\nRRULE:FREQ=DAILY;COUNT=3\r\n" - f"EXDATE:{excluded}T100000\r\nEND:VEVENT\r\nEND:VCALENDAR" + f"EXDATE:{excluded}T100000\r\nRDATE:{added}T100000\r\nEND:VEVENT\r\nEND:VCALENDAR" ) unsupported_title = "Private monthly board review" unsupported_calendar = ( @@ -138,6 +139,9 @@ def test_release_artifact_plans_seven_touch_safe_mobile_dates( expect(page.locator("#week-capacity-days .week-capacity-day").nth(2)).to_contain_text( "420 min available" ) + expect(page.locator("#week-capacity-days .week-capacity-day").nth(3)).to_contain_text( + "420 min available" + ) expect(capacity_import).not_to_contain_text(private_title) for control in ( page.locator("#cancel-week-capacity-import"),