@@ -42,19 +42,19 @@ test('Open Sample Plot, apply time filter, and step forward in time', async ({ p
4242
4343 // Get the initial time text before any actions
4444 const timeTextBeforeFilter = await page . locator ( '.time-period-panel p' ) . textContent ( )
45- console . log ( 'Time period before filter:' , timeTextBeforeFilter )
45+
4646
4747 // check time step buttons are disabled
4848 await expect ( page . locator ( '.step-forward' ) ) . toBeDisabled ( )
4949 await expect ( page . locator ( '.step-backward' ) ) . toBeDisabled ( )
5050
5151 // Get the time text after clicking step forward (should be unchanged)
5252 const timeTextAfterClick = await page . locator ( '.time-period-panel p' ) . textContent ( )
53- console . log ( 'Time period after clicking step forward (before filter):' , timeTextAfterClick )
53+
5454
5555 // Verify that the time text has NOT changed (because filter is not applied)
5656 expect ( timeTextAfterClick ) . toEqual ( timeTextBeforeFilter )
57- console . log ( 'Verified: Time period did not change when filter is not applied' )
57+
5858
5959 // Find and click the time filter button in the control panel
6060 // Based on the application code, it's a button with FilterOutlined/FilterFilled icon
@@ -88,7 +88,7 @@ test('Open Sample Plot, apply time filter, and step forward in time', async ({ p
8888
8989 // Get the text content of the TimePeriod before stepping forward
9090 const initialTimeText = await page . locator ( '.time-period-panel p' ) . textContent ( )
91- console . log ( 'Initial time period:' , initialTimeText )
91+
9292
9393 // Click the step forward button again
9494 await stepForwardButton . click ( )
@@ -98,11 +98,11 @@ test('Open Sample Plot, apply time filter, and step forward in time', async ({ p
9898
9999 // Get the updated text content
100100 const updatedTimeText = await page . locator ( '.time-period-panel p' ) . textContent ( )
101- console . log ( 'Updated time period:' , updatedTimeText )
101+
102102
103103 // Verify that the time text has changed
104104 expect ( updatedTimeText ) . not . toEqual ( initialTimeText )
105- console . log ( 'Time period changed successfully from' , initialTimeText , 'to' , updatedTimeText )
105+
106106
107107 // check the time start and end times have moved forwards
108108 expect ( await timeStart . textContent ( ) ) . toEqual ( 'Nov 141800Z' )
@@ -117,11 +117,11 @@ test('Open Sample Plot, apply time filter, and step forward in time', async ({ p
117117
118118 // Get the updated text content
119119 const updatedTimeText2 = await page . locator ( '.time-period-panel p' ) . textContent ( )
120- console . log ( 'Updated time period:' , updatedTimeText2 )
120+
121121
122122 // Verify that the time text has changed
123123 expect ( updatedTimeText2 ) . not . toEqual ( initialTimeText )
124- console . log ( 'Time period changed successfully from' , initialTimeText , 'to' , updatedTimeText2 )
124+
125125
126126 // check the time start and end times have moved to end
127127 expect ( await timeStart . textContent ( ) ) . toEqual ( 'Nov 151000Z' )
0 commit comments