ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Test SvelteKit with Playwright 🧪 LIVE Coding & Chill

Автор: Johnny Magrippis

Загружено: 2022-07-15

Просмотров: 4839

Описание: Let’s BDD / e2e test our SvelteKit app with Playwright, and get more confidence against breaking changes!

You may find my video on testing SvelteKit with Vitest helpful, but it’s not required to watch this stream 🙂:    • 🧪 Test SvelteKit with TDD & VITEST 🧪  

Agenda:

✅ What’s Playwright & why use it? https://playwright.dev/
✅ Playwright setup with the SvelteKit wizard
✅ Adding Playwright to an existing app
✅ Recommended settings!
✅ playwright-testing-library vs Playwright selectors? https://playwright.dev/docs/selectors...
✅ Debug mode and recommended workflow with the Playwright VSCode plugin https://github.com/microsoft/playwrig...
❌ BDDing a Svelte component
❌ Playwright Component Testing? https://playwright.dev/docs/test-comp...
❌ Automating Authentication? https://playwright.dev/docs/auth

Click around yourself: https://techy.cat

See the code: https://github.com/jmagrippis/techy-cat

— Highlighted software —
SvelteKit: https://kit.svelte.dev/
Playwright: https://playwright.dev/

No affiliations whatsoever: if I show something, you know you're hearing my unfiltered thoughts 😄

My own website: https://magrippis.com/

Search for `@jmagrippis` to find me on socials like Discord, Instagram & Twitter!

Between the comment section and the socials, let me know *somewhere* what you’d like me to cover next 🙌

--
TIMESTAMPS
--
0:00 - Hello and welcome 👋
1:54 - Agenda: What's Playwright, what will we be doing today?
6:20 - Setup for a brand new app, with the SvelteKit Wizard
13:30 - Context about Techy Cat, the app we made last stream
15:05 - Setup Playwright in an existing app
16:40 - Using VSCode to install Playwright
19:50 - Noting potential conflict with runners like Jest or Vitest
25:00 - Fixing test name conflict by setting up Vite to `include` only `.test.` files
27:10 - Let's run some Playwright tests! Adding a `package.json` script
29:28 - Running tests in VSCode with the Playwright plugin (fave way)
32:00 -`navigation smoke test`: amending the sample test for our use case
34:10 - `baseUrl` and other Playwright config options
36:35 - extra option for capturing video!
41:00 - "Testing Library" overview for meaningful tests
44:30 - "Native" Playwright way to test with Locator, but with Testing Library principles
55:20 - New `package.json` script to run Playwright in the helpful Debug mode
57:45 - Slow-Mo for more "human-like" runs!
1:02:15 - BREAK / chat
1:06:00 - Recap what we've done so far
1:15:35 - Setting up our Github Action
1:19:20 - Pull Request to trigger deployment & Playwright Github Action
1:21:00 - Run failure and debugging! (check the repo for a setup which works 😅)
1:29:08 - Let's talk about Automated Authentication / testing auth states!
1:49:20 - Recap, outro chat & goodbyes!

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Test SvelteKit with Playwright 🧪 LIVE Coding & Chill

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

LIVE Coding & Chill: SvelteKit + Stripe Subscriptions 🤑

LIVE Coding & Chill: SvelteKit + Stripe Subscriptions 🤑

Арестович: Грозит ли Украине эскалация войны? Дневник войны.

Арестович: Грозит ли Украине эскалация войны? Дневник войны.

🧪 Test SvelteKit with TDD & VITEST 🧪

🧪 Test SvelteKit with TDD & VITEST 🧪

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

РОМАНОВА:

РОМАНОВА: "По приказу. И вот что страшно". Что с Адамом Кадыровым и его с врачами, как было в Кремле

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

ПОЛНЫЙ ОТРЫВ ОТ РЕАЛЬНОСТИ. Доклады Герасимова — уже безумие. Виртуальная реальность Путина

ПОЛНЫЙ ОТРЫВ ОТ РЕАЛЬНОСТИ. Доклады Герасимова — уже безумие. Виртуальная реальность Путина

Claude за 20 минут: Полный курс для новичков

Claude за 20 минут: Полный курс для новичков

The Windows 11 Disaster Microsoft Didn’t See Coming

The Windows 11 Disaster Microsoft Didn’t See Coming

Самая сложная модель из тех, что мы реально понимаем

Самая сложная модель из тех, что мы реально понимаем

Protocol Buffers Crash Course

Protocol Buffers Crash Course

Поток данных в Svelte 5 | Как получать и передавать данные из бэкэнда во фронтенд в SvelteKit

Поток данных в Svelte 5 | Как получать и передавать данные из бэкэнда во фронтенд в SvelteKit

Playwright with TypeScript : Learn Playwright Automation Tutorial from Scratch [6 Hours]

Playwright with TypeScript : Learn Playwright Automation Tutorial from Scratch [6 Hours]

Claude Code: полный гайд по AI-кодингу (хаки, техники и секреты)

Claude Code: полный гайд по AI-кодингу (хаки, техники и секреты)

Боевые действия остановлены / Договор заключён

Боевые действия остановлены / Договор заключён

Не создавайте агентов, а развивайте навыки – Барри Чжан и Махеш Мураг, Anthropic

Не создавайте агентов, а развивайте навыки – Барри Чжан и Махеш Мураг, Anthropic

Faster initial loads with Response Streaming 🏞️ + SvelteKit 🔴 LIVE Coding & Chill

Faster initial loads with Response Streaming 🏞️ + SvelteKit 🔴 LIVE Coding & Chill

Изучите Microsoft Active Directory (ADDS) за 30 минут

Изучите Microsoft Active Directory (ADDS) за 30 минут

🛒 ВОЗ ДАВОСА: Украина в торгах за Гренландию. Цена Зе-НАСТУПЛЕНИЯ. Рубильник АЭС Украины - Арестович

🛒 ВОЗ ДАВОСА: Украина в торгах за Гренландию. Цена Зе-НАСТУПЛЕНИЯ. Рубильник АЭС Украины - Арестович

Monitoring as Code: E2E Testing in Production with Playwright • Tim Nolet • GOTO 2024

Monitoring as Code: E2E Testing in Production with Playwright • Tim Nolet • GOTO 2024

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]