-
Notifications
You must be signed in to change notification settings - Fork 1
ensure clean imagify state before tagged smoke scenarios #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,6 +90,13 @@ BeforeAll(async function (this: ICustomWorld) { | |
| } | ||
| }); | ||
|
|
||
| /** | ||
| * Before each scenario tagged with @requires-clean-imagify, ensures Imagify is not installed. | ||
| */ | ||
| Before({ tags: '@requires-clean-imagify and not @imagify-compatibility' }, async function (this: ICustomWorld): Promise<void> { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we need this run before smoke test , why not just use @smoke instead of @requires-clean-imagify?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Mai-Saad, I used requires-clean-imagify so this hook can be reused beyond smoke. It is currently applied only in smoke, but the precondition itself is not smoke-specific. |
||
| await uninstallPlugin('imagify'); | ||
| }); | ||
|
|
||
| /** | ||
| * Before each test scenario without the @setup tag, performs setup tasks. | ||
| */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.