1.1.0 #1
1 changed files with 10 additions and 0 deletions
|
@ -38,6 +38,15 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
|
|||
expect(selectedValue).toBe(date[1]);
|
||||
});
|
||||
|
||||
test('Tabs', async ({ page }) => {
|
||||
const distributionTab = await page.locator('#distribution-tab-bwm');
|
||||
const applicationTab = await page.locator('#app-tab-bwm');
|
||||
const ipTab = await page.locator('#ip-tab-bwm');
|
||||
const exportTab = await page.locator('#export-tab-bwm');
|
||||
|
||||
expect(distributionTab && applicationTab && ipTab && exportTab).toBeTruthy();
|
||||
});
|
||||
|
||||
test('Traffic Distribution Top Cards', async ({ page }) => {
|
||||
const hosts = await page.getByRole('heading', { name: 'Hosts' });
|
||||
const hostsIcon = await page.locator('.mdi-server-network');
|
||||
|
@ -95,6 +104,7 @@ test.describe('General - Dashboard - Network Analyzer - Traffic Monitor', () =>
|
|||
|
||||
await page.click('#app-tab-bwm');
|
||||
});
|
||||
|
||||
test('Download / Application', async ({ page }) => {
|
||||
expect(await page.$('p:has-text("Download / Application")')).toBeTruthy();
|
||||
expect(await page.isVisible('#chart-3'));
|
||||
|
|
Loading…
Reference in a new issue