Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginFeatureContext ¶
type LoginFeatureContext struct {
*featurecontext.FeatureContext
}
LoginFeatureContext holds values which are used across test steps
func NewLoginFeatureContext ¶
func NewLoginFeatureContext(fc *featurecontext.FeatureContext, sc *godog.ScenarioContext) *LoginFeatureContext
func (*LoginFeatureContext) Register ¶
func (f *LoginFeatureContext) Register(ctx *godog.ScenarioContext)
func (*LoginFeatureContext) UserHasLoggedIn ¶
func (f *LoginFeatureContext) UserHasLoggedIn(user string, pass string) error
userHasLoggedIn can be used before running a scenario, the access token is stored
func (*LoginFeatureContext) UserHasLoggedInWithTheTokenOfThePublicshare ¶
func (f *LoginFeatureContext) UserHasLoggedInWithTheTokenOfThePublicshare(user, publicShare string) error
Click to show internal directories.
Click to hide internal directories.