File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/e2e/tests/regression/monitor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 52
52
//Click on Stop Monitor button
53
53
await t . click ( monitorPage . runMonitorToggle ) ;
54
54
//Check for "Monitor is stopped." text
55
- await t . expect ( monitorPage . monitorIsStoppedText . innerText ) . eql ( 'Profiler is paused.' ) ;
55
+ await t . expect ( monitorPage . monitorIsStoppedText . innerText ) . eql ( 'Profiler is paused.' , 'Paused profiler message' ) ;
56
56
//Get the last log line
57
57
const lastTimestamp = await monitorPage . monitorCommandLineTimestamp . nth ( - 1 ) . textContent ;
58
58
//Click on refresh keys to get new logs
59
59
await t . click ( browserPage . refreshKeysButton ) ;
60
60
//Check that no commands are displayed after monitor paused
61
- await t . expect ( monitorPage . monitorCommandLineTimestamp . nth ( - 1 ) . textContent ) . eql ( lastTimestamp ) ;
61
+ await t . expect ( monitorPage . monitorCommandLineTimestamp . nth ( - 1 ) . textContent ) . eql ( lastTimestamp , 'The last line of monitor logs' ) ;
62
62
} ) ;
63
63
test
64
64
. meta ( { rte : rte . standalone } ) ( 'Verify that when user refreshes the page the list of results in Monitor is not saved' , async t => {
You can’t perform that action at this time.
0 commit comments