Skip to content

Commit

Permalink
feat(playwright): add optional tags property to TestRunnerConfig
Browse files Browse the repository at this point in the history
The TestRunnerConfig interface in the hooks.ts file now includes an optional tags property. This property allows users to include, exclude, or skip specific tags when running tests. The tags are defined as annotations in the story or meta. This change provides more flexibility and control over test execution based on specific tags.
  • Loading branch information
bryanjtc committed Nov 16, 2023
1 parent de631e4 commit 7fa52e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/playwright/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export interface TestRunnerConfig {
/**
* Tags to include, exclude, or skip. These tags are defined as annotations in your story or meta.
*/
tags: {
include: string[];
exclude: string[];
skip: string[];
tags?: {
include?: string[];
exclude?: string[];
skip?: string[];
};
}

Expand Down

0 comments on commit 7fa52e5

Please sign in to comment.