mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
14 lines
349 B
Go
14 lines
349 B
Go
package suites
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func (wds *WebDriverSession) doChangeMethod(ctx context.Context, t *testing.T, method string) {
|
|
wds.WaitElementLocatedByID(ctx, t, "methods-button").Click()
|
|
wds.WaitElementLocatedByID(ctx, t, "methods-dialog")
|
|
wds.WaitElementLocatedByID(ctx, t, fmt.Sprintf("%s-option", method)).Click()
|
|
}
|