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 f2dab2e83e - Show all commits

View file

@ -15,6 +15,10 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
);
});
test('Traffic Monitor', async ({ page }) => {
expect(await page.$('header:has-text("Traffic Monitor")')).toBeTruthy();
});
test('Traffic Distribution Top Cards', async ({ page }) => {
const hosts = await page.getByRole('heading', { name: 'Hosts' });
const hostsIcon = await page.locator('.mdi-server-network');
@ -50,17 +54,17 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
});
test('Traffic', async ({ page }) => {
expect(await page.$('header:has-text("Traffic")')).toBeTruthy();
expect(await page.$('p:has-text("Traffic")')).toBeTruthy();
expect(await page.isVisible('#chart-1'));
});
test('Connections', async ({ page }) => {
expect(await page.$('header:has-text("Connections")')).toBeTruthy();
expect(await page.$('p:has-text("Connections")')).toBeTruthy();
expect(await page.isVisible('#chart-2'));
});
test('Traffic Distribution', async ({ page }) => {
expect(await page.$('header:has-text("Traffic Distribution")')).toBeTruthy();
expect(await page.$('p:has-text("Traffic Distribution")')).toBeTruthy();
});
});
@ -73,17 +77,17 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
await page.click('#app-tab-bwm');
});
test('Download / Application', async ({ page }) => {
expect(await page.$('header:has-text("Download / Application")')).toBeTruthy();
expect(await page.$('p:has-text("Download / Application")')).toBeTruthy();
expect(await page.isVisible('#chart-3'));
});
test('Upload / Application', async ({ page }) => {
expect(await page.$('header:has-text("Upload / Application")')).toBeTruthy();
expect(await page.$('p:has-text("Upload / Application")')).toBeTruthy();
expect(await page.isVisible('#chart-4'));
});
test('Application Protocol', async ({ page }) => {
expect(await page.$('header:has-text("Application Protocol")')).toBeTruthy();
expect(await page.$('p:has-text("Application Protocol")')).toBeTruthy();
});
});
@ -97,17 +101,17 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
});
test('IPv4 vs. IPv6', async ({ page }) => {
expect(await page.$('header:has-text("IPv4 vs. IPv6")')).toBeTruthy();
expect(await page.$('p:has-text("IPv4 vs. IPv6")')).toBeTruthy();
expect(await page.isVisible('#chart-5'));
});
test('Dualstack Distribution', async ({ page }) => {
expect(await page.$('header:has-text("Dualstack Distribution")')).toBeTruthy();
expect(await page.$('p:has-text("Dualstack Distribution")')).toBeTruthy();
expect(await page.isVisible('#chart-6'));
});
test('Usage by Host', async ({ page }) => {
expect(await page.$('header:has-text("Usage by Host")')).toBeTruthy();
expect(await page.$('p:has-text("Usage by Host")')).toBeTruthy();
});
});