Skip to content

Commit 9563329

Browse files
committed
updates
1 parent 970f6dc commit 9563329

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/e2e/tests/critical-path/monitor/save-commands.e2e.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,16 @@ test.only
8686
await cliPage.getSuccessCommandResultFromCli(cli_command);
8787
await monitorPage.checkCommandInMonitorResults(cli_command);
8888
//Verify that temporary Log file Created
89-
await t.wait(5000);
90-
await t.expect(numberOfTempFiles).lt(fs.readdirSync(tempDir).length, 'The temporary Log file is created');
89+
await t.expect(numberOfTempFiles).lt(fs.readdirSync(tempDir).length, 'The temporary Log file is not created');
9190
});
92-
test
91+
test.only
9392
.meta({ rte: rte.standalone })('Verify that when user switch toggle to OFF and started the Profiler, temporary Log file is not Created and recording', async t => {
9493
//Remember the number of files in Temp
9594
const numberOfTempFiles = fs.readdirSync(tempDir).length;
9695
//Start Monitor with Save logs
9796
await monitorPage.startMonitor();
9897
//Verify that temporary Log file is not created
99-
await t.expect(numberOfTempFiles).lte(fs.readdirSync(tempDir).length, 'The temporary Log file is not created');
98+
await t.expect(numberOfTempFiles).gte(fs.readdirSync(tempDir).length, 'The temporary Log file is created');
10099
});
101100
test
102101
.meta({ rte: rte.standalone })('Verify the Profiler Button panel when toggle was switched to ON and user pauses/resumes the Profiler', async t => {

0 commit comments

Comments
 (0)