import {ContextTag} from '@serenity-js/core/lib/model/tags'
public class | source

ContextTag

There are a couple of common use-cases for contexts: running the same test in different browsers, and running the same test on different operating systems. If you use the name of a browser (e.g. “chrome”, “firefox”, “safari”, “ie”), the context will be represented in the reports as the icon of the respective browsers. If you provide an operating system (e.g. “linux”, “windows”, “mac”, “android”, “iphone”), a similar icon will be used. If you use any other term for your context, it will appear in text form in the test results lists, so it is better to keep context names relatively short.

Extends:

src/model/tags/Tag.js~Tag → ContextTag
this class was deprecated.

Tests:

Static Member Summary

Static Public Members
public static

Type: *

Constructor Summary

Public Constructor
public

Static Public Members

public static Type: * source

Public Constructors

public constructor() source