Skip to content

Commit

Permalink
Improve Integration Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskerr committed Jan 8, 2024
1 parent 56a5646 commit 679502b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/zui-player/tests/right-click-menus.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,21 @@ play('right-click-menus', (app, test) => {
await app.detached('columnheader', 'ts');
});

test('virus total', async () => {
await app.query('cut id.orig_h');
test('who is', async () => {
await app.query('has(id.orig_h) | cut id.orig_h | head 1');
await app.click('button', 'Inspector');
await app.click('button', 'Expand Rows');
await app.rightClick(/192.168.1.110/);
await app.click('listitem', 'Virus Total');
await app.click('listitem', 'Whois Lookup');
await app.attached(/Whois Result/);
await app.click('button', 'Done');
});

test('who is', async () => {
test('virus total', async () => {
await app.query('cut id.orig_h');
await app.click('button', 'Inspector');
await app.click('button', 'Expand Rows');
await app.rightClick(/192.168.1.110/);
await app.click('listitem', 'Whois Lookup');
await app.attached(/Whois Result/);
await app.attached('listitem', 'Virus Total');
});
});

0 comments on commit 679502b

Please sign in to comment.