File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/Frontend/test/specs/customchecks Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,25 @@ describe("FEATURE: No data", () => {
3232 */
3333 test ( "EXAMPLE: 'No failed custom checks' should be displayed when all custom checks are in a success state" , async ( { driver } ) => {
3434 //Arrange
35+ // vi.useFakeTimers();
3536 await driver . setUp ( precondition . serviceControlWithMonitoring ) ;
37+ console . log ( "test started now;" ) ;
3638 // given that the custom check list is not empty and status of all checks are passing
3739 await driver . setUp ( precondition . hasCustomChecksPassing ) ;
3840
3941 //Act - When navigating to the custom checks tab
4042 await driver . goTo ( "/custom-checks" ) ;
43+ console . log ( "navigating to the custom checks tab" ) ;
44+ //vi.advanceTimersByTime(10000);
45+ //setTimeout(async () => {
4146 //Expect
42- await waitFor ( async ( ) => {
47+ waitFor ( async ( ) => {
48+ console . log ( "expecting" ) ;
4349 expect ( await customChecksMessage ( ) ) . toBe ( "No failed custom checks" ) ;
4450 } ) ;
51+ // }, 5500);
52+
53+ // vi.restoreAllMocks();
4554 } ) ;
4655 } ) ;
4756} ) ;
You can’t perform that action at this time.
0 commit comments