Skip to content

Commit

Permalink
Added the pickle property
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Nov 26, 2024
1 parent 20e3174 commit 72d04d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/custom-world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* @param {IWorldOptions} options - The options for configuring the world.
*/
import { IWorldOptions, World, setWorldConstructor } from '@cucumber/cucumber';
import { Pickle } from '@cucumber/messages';
import { BrowserContext, Page } from '@playwright/test';
import { Sections } from './sections';
import { PageUtils } from '../../utils/page-utils';
Expand All @@ -33,6 +34,7 @@ export interface ICustomWorld extends World {
page?: Page;
sections?: Sections;
utils?: PageUtils;
pickle?: Pickle;
}

export class CustomWorld extends World implements ICustomWorld {
Expand Down

0 comments on commit 72d04d8

Please sign in to comment.