Open dbouwman opened 4 years ago
Very thorough, Dave. Nice work.
Some thoughts:
how do you write e2e tests for code that's not yet deployed?
I think it makes sense to talk about a staging server (and even making it as hermetic as possible). But, most teams will also be able to run them locally/containerized which is also worth pointing out.This might be an interesting page to point them at as a "go build your own tests" parting pointer: https://webdriver.io/docs/boilerplate.html
It features starter code for lots of different possibilities (various test frameworks, and also Typescript).
Another resource --> https://medium.com/better-programming/what-not-to-do-when-writing-e2e-tests-ef7b9d09cc81 (have not read yet)
Time Blocking: 8:30am --> 5:00
8:15-> 8:30: Be in the room, setting up, help people ensure they have requirements on machines 8:30 - 8:45: Intro and Logistics
Zen of Testing 8:45 - 9:15 - Dave
why test at all?
manual vs robots
unit vs component vs acc
what else can 🤖 's do for us?
testing at scale
framework test strategies
agnostic e2e
test workflows
Stack Review - 9:15 - 9:30 - Tate
HANDS ON: Hello-World - 9:30 - 9:45 (15 min)
Tate: WebDriver 101 9:45 - 10:15 (walk-thru w/ explanations)
esri devsummit workshops
https://www.esri.com/en-us/about/events/devsummit/agenda/pre-summit-hands-on-training
BREAK: 10:15 - 10:30
HANDS ON: 10:30 - 11:00 (30 min)
Dave: Going Deeper & Page Model 101 11:00 - 11:30
<div
's uh-oh...event-detail-registration_heading
HANDS ON: 11:30 - 12:00
Lunch: 12 - 1
Real-World E2E Projects 1:00 - 2:00 (Talk) Dave & Andew split
DEMO: Hub E2e Tour + Run
HANDS ON: TODO: Add details for what this is
goals
use the react react app from prev day workshop
show how we've added
data-test
attrs to make things easieruse multiple pages
show how we use fixtures / well-known routes to items
Testing w/ AGO
Chicken & Egg Problem
Wrap up: