Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cypress ¶
type Cypress struct { // ConfigFile is the path to "cypress.json". ConfigFile string `yaml:"configFile,omitempty" json:"configFile"` // ProjectPath is the path to the cypress directory itself. Not set by the user, but is instead based on the // location of ConfigFile. ProjectPath string `json:"-"` // EnvFile is the path to cypress.env.json. Not set by the user, but is instead based on the location of ConfigFile. EnvFile string `json:"-"` }
Cypress represents crucial cypress configuration that is required for setting up a project.
type Project ¶
type Project struct { config.TypeDef `yaml:",inline"` Sauce config.SauceConfig `yaml:"sauce,omitempty" json:"sauce"` Cypress Cypress `yaml:"cypress,omitempty" json:"cypress"` Suites []Suite `yaml:"suites,omitempty" json:"suites"` BeforeExec []string `yaml:"beforeExec,omitempty" json:"beforeExec"` Docker config.Docker `yaml:"docker,omitempty" json:"docker"` Npm config.Npm `yaml:"npm,omitempty" json:"npm"` }
Project represents the cypress project configuration.
type Suite ¶
type Suite struct { Name string `yaml:"name,omitempty" json:"name"` Browser string `yaml:"browser,omitempty" json:"browser"` BrowserVersion string `yaml:"browserVersion,omitempty" json:"browserVersion"` PlatformName string `yaml:"platformName,omitempty" json:"platformName"` Config SuiteConfig `yaml:"config,omitempty" json:"config"` }
Suite represents the cypress test suite configuration.
type SuiteConfig ¶
type SuiteConfig struct { TestFiles []string `yaml:"testFiles,omitempty" json:"testFiles"` Env map[string]string `yaml:"env,omitempty" json:"env"` }
SuiteConfig represents the cypress config overrides.
Click to show internal directories.
Click to hide internal directories.