Skip to content

[PR #4145/9b0eca61 backport][stable-4.7] screenshot tests: add more screens, blackout time, enable legacy#4146

Merged
himdel merged 1 commit into
stable-4.7from
patchback/backports/stable-4.7/9b0eca617aa75ecc134f5dc96b366b20f219d0d7/pr-4145
Aug 27, 2023
Merged

[PR #4145/9b0eca61 backport][stable-4.7] screenshot tests: add more screens, blackout time, enable legacy#4146
himdel merged 1 commit into
stable-4.7from
patchback/backports/stable-4.7/9b0eca617aa75ecc134f5dc96b366b20f219d0d7/pr-4145

Conversation

@patchback

@patchback patchback Bot commented Aug 26, 2023

Copy link
Copy Markdown

This is a backport of PR #4145 as merged into master (9b0eca6).

Change screenshot folder from cypress/screenshots/test_name.js/ to cypress/screenshots/test_suite_name/test_name.js/ (test_suite meaning all the cypress/e2e/ subdirs used in test matrix).

Wrap our DateComponent in a <time> element, following https://microformats.org/wiki/datetime-design-pattern,
blackout time elements in non-failure cypress screenshots - we can test more screens.

Enable legacy roles for the screenshots run, allowing us to test those screens.

* screenshot tests: add more screens, blackout time, enable legacy

No-Issue

* lint

* rename screenshots.js to screenshots-main when cached, fix paths for extra suite name

(cherry picked from commit 9b0eca6)
@app-sre-bot

Copy link
Copy Markdown

Can one of the admins verify this patch?

@himdel himdel merged commit c7e6a47 into stable-4.7 Aug 27, 2023
@himdel himdel deleted the patchback/backports/stable-4.7/9b0eca617aa75ecc134f5dc96b366b20f219d0d7/pr-4145 branch August 27, 2023 00:02
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.

2 participants