From 8dcffea62436e28b1731b4269bfc4318ef3776d8 Mon Sep 17 00:00:00 2001 From: Penghai Date: Tue, 24 Oct 2023 16:06:48 +1100 Subject: [PATCH] test: remove the redundant staleness waiting in test case testDateValidation --- .../java/com/tle/webtests/test/cal/CALBookActivationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java b/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java index 7232ed139d..a7e6d5013c 100644 --- a/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java +++ b/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java @@ -46,7 +46,7 @@ public void testDateValidation() { com.tle.webtests.pageobject.generic.component.Calendar untilDate = activatePage.getUntilDate(); untilDate.dateEquals(cal); - summary = activatePage.cancel(summary.updateWaiter()); + summary = activatePage.cancel(summary); activatePage = summary.activate(1, ATTACH1_FILENAME); activatePage.setCourse("A Simple Course"); activatePage.setDatesHidden(getInvalidRange());