-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
104 additions
and
79 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "zui-player", | ||
"private": true | ||
} |
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
packages/e2e-tests/project.json → packages/zui-player/project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { expect, test } from '@playwright/test'; | ||
import TestApp from '../helpers/test-app'; | ||
import { getPath } from 'zui-test-data'; | ||
|
||
test.describe('No Pool Specified State', () => { | ||
const app = new TestApp('No Pool Specified'); | ||
|
||
test.beforeAll(async () => { | ||
await app.init(); | ||
}); | ||
|
||
test.afterAll(async () => { | ||
await app.shutdown(); | ||
}); | ||
|
||
test('Query missing a from with no pools', async () => { | ||
await app.click('button', 'create'); | ||
await app.click('listitem', 'New Query Session'); | ||
await app.attached(/load data into a pool/i); | ||
}); | ||
|
||
test('Query missing a from with some pools', async () => { | ||
await app.createPool([getPath('small-zeek.zng')]); | ||
await app.click('button', 'create'); | ||
await app.click('listitem', 'New Query Session'); | ||
|
||
await app.attached(/click one of the pools/i); | ||
|
||
await app.attached('list', 'from-pin-list'); | ||
await app.click('listitem', 'small-zeek.zng'); | ||
|
||
const stats = await app.getViewerStats(); | ||
expect(stats).toEqual({ results: 31, shapes: 8 }); | ||
}); | ||
}); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters