Earlier quoted context omitted.
That's one aspect of reliability, but the one I was more curious about was determinism. If I repeatedly run the same test suite on the same code base and the same data and configuration, am I guaranteed to get the same test results every time, or is it possible for ai() to change its mind about what actions to take?
Ah got it. So GPT is non-deterministic, but we somewhat handle that by having a caching layer in our AI. Basically if you make an ai() call, and we see that the page state is identical to a previous invocation of that exact AI prompt, then we will not consult the AI and install return you the cached result. We did this mainly to reduce costs and speed up execution of the 2nd-to-nth run of the same test, but it does m…
Introducing Adept Experiments – use AI workflows to delegate repetitive tasks
11–15 of 15 posts
Re: Introducing Adept Experiments – use AI workflows to delegate repetitive tasks
#12Re: Introducing Adept Experiments – use AI workflows to delegate repetitive tasks
#13For anyone looking to try this in an E2E testing context, we just released a library for Playwright called ZeroStep ( https://zerostep.com/ ) that lets you script AI based actions, assertions, and extractions. This is a working example that tests the core "book a meeting" workflow in Calendly: import { test, expect } from '@playwright/test' import { ai } from '@zerostep/playwright' test.describe('Calendly', () => { t…
Your example above - 7 function calls in one test. let's say usually closer to 5, we have hundreds of tests. Every single PR runs E2E tests. We open a handful of PRs a day. Let's call it 5. We're already looking at thousands of invocations a day. Based on your pricing, that would be incredibly expensive.
This is with 3 eng.
Re: Introducing Adept Experiments – use AI workflows to delegate repetitive tasks
#14For anyone looking to try this in an E2E testing context, we just released a library for Playwright called ZeroStep ( https://zerostep.com/ ) that lets you script AI based actions, assertions, and extractions. This is a working example that tests the core "book a meeting" workflow in Calendly: import { test, expect } from '@playwright/test' import { ai } from '@zerostep/playwright' test.describe('Calendly', () => { t…
Nice! I'm going to try this out! Nit: For me, it would be nicer if `ai` was a fixture itself. test.describe('Calendly', ({ ai }) => {
Re: Introducing Adept Experiments – use AI workflows to delegate repetitive tasks
#15For anyone looking to try this in an E2E testing context, we just released a library for Playwright called ZeroStep ( https://zerostep.com/ ) that lets you script AI based actions, assertions, and extractions. This is a working example that tests the core "book a meeting" workflow in Calendly: import { test, expect } from '@playwright/test' import { ai } from '@zerostep/playwright' test.describe('Calendly', () => { t…
Cool demo btw.