072dd24696
Introduce a new `integration/ui` package for integration tests. `integration/ui/uitest` contains a helper package for running browser tests.
21 lines
424 B
Go
21 lines
424 B
Go
// Copyright (C) 2021 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package uitest_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/go-rod/rod"
|
|
|
|
"storj.io/common/testcontext"
|
|
"storj.io/storj/integration/ui/uitest"
|
|
"storj.io/storj/private/testplanet"
|
|
)
|
|
|
|
func TestRun(t *testing.T) {
|
|
uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) {
|
|
t.Log("working")
|
|
})
|
|
}
|