Oliver Davies
076802cb5b
If a guest has been on multiple podcast episodes, show a list on an episode page linking to their other episodes. For this to work, each page needs `data.podcast_episodes` to be in scope, so `use: [podcast_episodes]` needs to be added to the episode. Whilst I could do this only for the specific episodes, adding it to all the episodes will make it clearer in the future that I need to have it instead of forgetting to add it and wondering why it doesn't work.
46 lines
1.9 KiB
Markdown
46 lines
1.9 KiB
Markdown
---
|
|
date: 2024-03-11
|
|
topic: Diffy and Visual Regression Testing
|
|
guests:
|
|
- Yuri Gerasymov
|
|
transistor:
|
|
id: 5940d69f
|
|
links:
|
|
- - About Yuri
|
|
- https://ygerasimov.com/about-me
|
|
- - Diffy
|
|
- https://diffy.website
|
|
- - Yuri on Drupal.org
|
|
- https://www.drupal.org/u/ygerasimov
|
|
talking_points:
|
|
- What is visual regression testing?
|
|
- How do you deal with false positives?
|
|
- Different use cases for visual regression testing.
|
|
- Automatic updates.
|
|
- Scheduling content.
|
|
- Visual regression testing in CI.
|
|
- Diffy in WordPress.
|
|
- What's a baseline?
|
|
- Initial setup and onboarding feedback.
|
|
- Testing dark mode?
|
|
- Component testing with Storybook and Fractal?
|
|
- Testing local environments.
|
|
- Testing as authenticated users.
|
|
- The roadmap for Diffy.
|
|
quotes:
|
|
- We help development teams to have less visual bugs in their website. We take screenshots of the pages and compare them so you can see what changed and how. (YG)
|
|
- We built tools for you to mock the content. You provide selectors for the elements with the content of the article and we'll replace it with lorem ipsum text so it will be exactly the same across multiple environments. (YG)
|
|
- I can still write an assertion to check the text is on the page or not, but it won't confirm it's in the correct place. (OD)
|
|
- Having a tool checking for changes on a regular basis instead of only after a deployment would be very useful. (OD)
|
|
- So, you could have a tool like Violinst automatically creating pull requests and Diffy checking those PRs, so the two could work together? (OD)
|
|
- With visual testing, it's very easy to get started. (YG)
|
|
- Visual testing is great for showing your client your work. (YG)
|
|
chapters: []
|
|
episode_filename: 14-diffy.mp3
|
|
file_size: 22892297
|
|
duration: 0:46:25
|
|
use: [podcast_episodes]
|
|
---
|
|
|
|
This week, Oliver discusses visual regression testing and Diffy with Yuri Gerasymov.
|