login

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL