Skip to content

feat: expectScreenshot added default locator#55

Merged
SwinX merged 1 commit intoreleases/v2from
fix/expect-screenshot
Feb 3, 2026
Merged

feat: expectScreenshot added default locator#55
SwinX merged 1 commit intoreleases/v2from
fix/expect-screenshot

Conversation

@SwinX
Copy link
Copy Markdown
Collaborator

@SwinX SwinX commented Jan 30, 2026

Feature is useful for component tests where we need to take screenshot of special component wrapper

fix: fixed slug was required for expectScreenshot
The fix is to change default setting for libarary
Removed the strong requirement for specifically formatted slug. If it is not added, fallback will be generated from test title

fixes #51

Feature is useful for component tests where we need to take screenshot of special component wrapper

fix: fixed slug was required for expectScreenshot
The fix is to change default setting for libarary
Removed the strong requirement for specifically formatted slug. If it is not added,
fallback will be generated from test title

fixes #51
@SwinX SwinX requested a review from Avol-V as a code owner January 30, 2026 15:41
@SwinX SwinX requested a review from vanilla-wave January 30, 2026 16:03
@SwinX SwinX changed the base branch from main to releases/v2 February 3, 2026 12:54
@SwinX SwinX merged commit 0dac4bd into releases/v2 Feb 3, 2026
5 checks passed
@SwinX SwinX deleted the fix/expect-screenshot branch February 3, 2026 12:56
SwinX added a commit that referenced this pull request Feb 11, 2026
Feature is useful for component tests where we need to take screenshot of special component wrapper

fix: fixed slug was required for expectScreenshot
The fix is to change default setting for libarary
Removed the strong requirement for specifically formatted slug. If it is not added,
fallback will be generated from test title

fixes #51
@gravity-ui gravity-ui Bot mentioned this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

expectScreenshot fixture -> Error: Can't find slug for test

3 participants