28 lines
483 B
Go
28 lines
483 B
Go
package suites
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
type TraefikSuite struct {
|
|
*SeleniumSuite
|
|
}
|
|
|
|
func NewTraefikSuite() *TraefikSuite {
|
|
return &TraefikSuite{SeleniumSuite: new(SeleniumSuite)}
|
|
}
|
|
|
|
func (s *TraefikSuite) TestOneFactorScenario() {
|
|
suite.Run(s.T(), NewOneFactorScenario())
|
|
}
|
|
|
|
func (s *TraefikSuite) TestTwoFactorScenario() {
|
|
suite.Run(s.T(), NewTwoFactorScenario())
|
|
}
|
|
|
|
func TestTraefikSuite(t *testing.T) {
|
|
suite.Run(t, NewTraefikSuite())
|
|
}
|