5bc861b5ec
* chore: upgrade to cypress 11.2 * fix: update grep tags
21 lines
564 B
TypeScript
21 lines
564 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
declare namespace Cypress {
|
|
// specify additional properties in the TestConfig object
|
|
// in our case we will add "tags" property
|
|
interface SuiteConfigOverrides {
|
|
/**
|
|
* List of tags for this test
|
|
* @example a single tag
|
|
* it('logs in', { tags: '@smoke' }, () => { ... })
|
|
* @example multiple tags
|
|
* it('works', { tags: ['@smoke', '@slow'] }, () => { ... })
|
|
*/
|
|
tags?: string | string[];
|
|
}
|
|
|
|
interface Cypress {
|
|
grep?: (grep?: string, tags?: string, burn?: string) => void;
|
|
}
|
|
}
|