2019-11-02 21:32:58 +07:00
|
|
|
package suites
|
|
|
|
|
|
|
|
import (
|
2021-11-05 20:14:42 +07:00
|
|
|
"github.com/go-rod/rod"
|
2019-11-02 21:32:58 +07:00
|
|
|
"github.com/stretchr/testify/suite"
|
|
|
|
)
|
|
|
|
|
2021-11-05 20:14:42 +07:00
|
|
|
// RodSuite is a go-rod suite.
|
|
|
|
type RodSuite struct {
|
2019-11-02 21:32:58 +07:00
|
|
|
suite.Suite
|
|
|
|
|
2021-11-05 20:14:42 +07:00
|
|
|
*RodSession
|
|
|
|
*rod.Page
|
2019-11-02 21:32:58 +07:00
|
|
|
}
|
|
|
|
|
2021-01-16 17:25:02 +07:00
|
|
|
// CommandSuite is a command line interface suite.
|
|
|
|
type CommandSuite struct {
|
|
|
|
suite.Suite
|
|
|
|
|
|
|
|
testArg string //nolint:structcheck // TODO: Remove when bug fixed: https://github.com/golangci/golangci-lint/issues/537.
|
|
|
|
coverageArg string //nolint:structcheck // TODO: Remove when bug fixed: https://github.com/golangci/golangci-lint/issues/537.
|
|
|
|
|
|
|
|
*DockerEnvironment
|
|
|
|
}
|