mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fix visual regression suite
This commit is contained in:
parent
5b6ad3fe4a
commit
fd7a9a7e13
1 changed files with 6 additions and 6 deletions
|
@ -87,22 +87,22 @@ export default function({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await takeSnapshot();
|
||||
});
|
||||
|
||||
it('browser back button should show previous interval Daily', async function() {
|
||||
it('browser back button should show previous interval Day', async function() {
|
||||
await browser.goBack();
|
||||
await retry.try(async function tryingForTime() {
|
||||
const actualInterval = await PageObjects.discover.getChartInterval();
|
||||
expect(actualInterval).to.be('Daily');
|
||||
expect(actualInterval).to.be('Day');
|
||||
});
|
||||
await takeSnapshot();
|
||||
});
|
||||
|
||||
it('should show correct data for chart interval Monthly', async function() {
|
||||
await PageObjects.discover.setChartInterval('Monthly');
|
||||
it('should show correct data for chart interval Month', async function() {
|
||||
await PageObjects.discover.setChartInterval('Month');
|
||||
await takeSnapshot();
|
||||
});
|
||||
|
||||
it('should show correct data for chart interval Yearly', async function() {
|
||||
await PageObjects.discover.setChartInterval('Yearly');
|
||||
it('should show correct data for chart interval Year', async function() {
|
||||
await PageObjects.discover.setChartInterval('Year');
|
||||
await takeSnapshot();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue