~/talk

Testing Complex VSCode Extensions With the Power of Web Standards

Talkat OpenJS World 2022 · 2022-06-06..06-10· [testing, web-platform]
slides:none on file

A WebDriver-based test service called WDIO VS Code service automates Electron and browser VS Code flavors, mapping each VS Code release to the correct Chromedriver, working around Electron camelCase args with a fake-binary shim, and injecting VS Code APIs into webviews. Tests use page objects per VS Code version with locator maps and TypeScript decorators to keep selectors maintainable. The service runs end-to-end checks — it boots VS Code, starts Live Server, visits the served page, and exercises the marquee webview successfully.

AI-written summary · about

  1. 0:00Introduction to VS Code
  2. 3:01IDEs and Extensions
  3. 5:20Complex Extension Workflows
  4. 9:28Testing VS Code Extensions
  5. 13:59Building a Testing Service
  6. 18:46Implementing Page Objects
  7. 23:56Practical Examples and Demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.