1.1.0 #1

Merged
hayzam merged 12 commits from 1.1.0 into master 2024-06-06 17:43:40 +00:00
Showing only changes of commit 4c37ce3595 - Show all commits

View file

@ -19,6 +19,25 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
expect(await page.$('header:has-text("Traffic Monitor")')).toBeTruthy();
});
test('Traffic Monitor select Date', async ({ page }) => {
const selectElement = page.locator('select.period-select');
const options = await selectElement.locator('option');
const optionCount = await options.count();
const date = [];
for (let i = 0; i < optionCount; i++) {
const option = options.nth(i);
const value = await option.getAttribute('value');
date.push(value);
}
await selectElement.selectOption(date[1]);
const selectedValue = await selectElement.inputValue();
expect(selectedValue).toBe(date[1]);
});
test('Traffic Distribution Top Cards', async ({ page }) => {
const hosts = await page.getByRole('heading', { name: 'Hosts' });
const hostsIcon = await page.locator('.mdi-server-network');