Playwright.Test.Project (Playwright v1.65.0-rc.3)

Copy Markdown View Source

A project of Playwright.Test.parameters/1, upstream's projects: [{ name, use }] entry: its name and its use options, validated. It is the value of one private parameter, and inspects as its title/1, so a failed test prints a short name, as upstream's reporters print the project's: Parameters: %{"playwright.project": #Playwright.Test.Project<"Mobile Safari">}. An unnamed project, as upstream's, has no title: it inspects as its options.

Summary

Types

t()

name (nil when not given) and use, the options as Playwright.Test reads them.

Functions

The project's title: its name, upstream's project.name; nil for an unnamed project.

Types

t()

@type t() :: %Playwright.Test.Project{name: String.t() | nil, use: map()}

name (nil when not given) and use, the options as Playwright.Test reads them.

Functions

title(project)

@spec title(t()) :: String.t() | nil

The project's title: its name, upstream's project.name; nil for an unnamed project.