emojipicker

package
v0.0.0-...-9474aff Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package emojipicker contains common functions shared by Emoji-picker related tests.

Index

Constants

This section is empty.

Variables

View Source
var (
	RootFinder                    = nodewith.Name("Emoji Picker").Role(role.RootWebArea)
	NodeFinder                    = nodewith.Ancestor(RootFinder)
	SearchFieldFinder             = NodeFinder.Name("Search").Role(role.SearchBox)
	RecentUsedHeading             = NodeFinder.Name("Recently used").Role(role.Heading)
	RecentUsedMenu                = nodewith.Role(role.Button).Ancestor(RecentUsedHeading)
	ClearRecentlyUsedButtonFinder = NodeFinder.Name("Clear recently used emojis").Role(role.Button)
)

Emoji picker ui node finders.

Functions

func NewUICtx

func NewUICtx(tconn *chrome.TestConn) *uiauto.Context

NewUICtx creates a new UI context used in emoji picker related tests. Emoji picker has too many UI nodes and causes a slow refresh in A11y.

func WaitUntilExists

func WaitUntilExists(tconn *chrome.TestConn) uiauto.Action

WaitUntilExists returns an action to wait until emoji picker appears.

func WaitUntilGone

func WaitUntilGone(tconn *chrome.TestConn) uiauto.Action

WaitUntilGone returns an action to wait until emoji picker disappears.

Types

This section is empty.

Jump to

Keyboard shortcuts

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