testutils

package
v0.0.0-...-cb886e6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRandomDB

func CreateRandomDB(t *testing.T) *database.DB

Types

type Browser

type Browser struct {
	// contains filtered or unexported fields
}

func NewBrowser

func NewBrowser() (*Browser, error)

func (*Browser) AddTodo

func (b *Browser) AddTodo(todoName string) error

func (*Browser) Close

func (b *Browser) Close() error

func (*Browser) GetTodoItems

func (b *Browser) GetTodoItems() (int, error)

func (*Browser) LoadURL

func (b *Browser) LoadURL(url string) (int, error)

func (*Browser) Refresh

func (b *Browser) Refresh() error

func (*Browser) WaitSeconds

func (b *Browser) WaitSeconds(seconds int) error

Useful for debugging

Jump to

Keyboard shortcuts

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