mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
cmd/gogio: join all endtoend tests as subtests
This means we can deduplicate some of the logic, and keep it all in one place. Start expanding the logic too; the tests are slow, so they should be skipped on 'go test -short'. The ones we have so far all run in a matter of seconds on an average laptop today, but future tests will probably require heavier work like wine or kvm. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
@@ -152,9 +152,3 @@ func (d *JSTestDriver) Click(x, y int) {
|
||||
// TODO(mvdan): synchronize with the app instead
|
||||
time.Sleep(200 * time.Millisecond)
|
||||
}
|
||||
|
||||
func TestJS(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
runEndToEndTest(t, &JSTestDriver{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user