MCPcopy
hub / github.com/codeceptjs/CodeceptJS / tag

Method tag

lib/mocha/featureConfig.js:80–86  ·  view source on GitHub ↗

* Append a tag name to scenario title * @param {string} tagName * @returns {this}

(tagName)

Source from the content-addressed store, hash-verified

78 * @returns {this}
79 */
80 tag(tagName) {
81 if (tagName[0] !== '@') tagName = `@${tagName}`
82 if (!this.suite.tags) this.suite.tags = []
83 this.suite.tags.push(tagName)
84 this.suite.title = `${this.suite.title.trim()} ${tagName}`
85 return this
86 }
87}
88
89export default FeatureConfig

Callers 7

releaseFunction · 0.45
fs_test.jsFile · 0.45
failed_test.jsFile · 0.45
fs_test.jsFile · 0.45
ui_test.jsFile · 0.45
ui_test.jsFile · 0.45
github_test.jsFile · 0.45

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected