Skip to content

Conversation

elenaNaboko
Copy link
Contributor

No description provided.

@elenaNaboko elenaNaboko self-assigned this Apr 20, 2022
await t.expect(monitorPage.monitorIsStoppedText.innerText).eql('Profiler is stopped.');
//Check that no commands are displayed after "Monitor is stopped" text
await t.expect(monitorPage.monitorIsStoppedText.nextSibling().exists).notOk('No commands in monitor');
await t.expect(monitorPage.monitorIsStoppedText.innerText).eql('Profiler is paused.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add assertion

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

//Click on refresh keys to get new logs
await t.click(browserPage.refreshKeysButton);
//Check that no commands are displayed after monitor paused
await t.expect(monitorPage.monitorCommandLineTimestamp.nth(-1).textContent).eql(lastTimestamp);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add assertion

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@elenaNaboko elenaNaboko merged commit f2954d3 into main Apr 20, 2022
@elenaNaboko elenaNaboko deleted the bugfix/e2e branch April 20, 2022 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants