Questions tagged recording
`sdods record`, codegen and turning a recording into a feature.
16 questions
Does colorScheme from the env use: block reach a recording, or only the runner?
envs/staging.yaml has: sdods run -l ui respects all three. A recording started with comes up in light mode for me, while the locale and the timezone are clearly applied — the…
asked by Zeynep Arslan64 ·har record printed no scrub line and the Cookie header is still sitting in the file
We only have one project registered, so I have got into the habit of leaving -p off and letting it pick. Recorded fine, scenario replays. But there was no line like this at the…
asked by Devon Marsh183 ·Closed the browser after ten minutes and got "Codegen closed without writing a spec"
Recorded for about ten minutes, closed the window, and: Nothing under projects/demo-shop/recorded/. Ten minutes gone. What did I do wrong, and is there anywhere the actions are…
asked by Paulo Mendes97 ·OAuth popup during a recording: everything I did in the popup is missing from the spec
Recording a login that goes through our identity provider. The provider opens in a popup, you finish there, the popup closes and the app is signed in. The recorded spec has the…
asked by Ingrid Solberg241 ·sdods har record --interactive exits before the browser even opens
Trying to capture a flow by hand rather than through a scenario. Fine, added --name checkout. Codegen opened, I clicked through the flow, closed the window, and got this: Nothing…
asked by Ingrid Solberg241 ·Cart got redesigned — re-record the flow from scratch, or patch the old spec?
The cart page was redesigned. Same flow, different markup. We have checkout.spec.ts from March and a feature that came out of it back then. Do I re-record from scratch or patch…
asked by Rasha Halabi572 ·record convert: Cannot tell which project my spec belongs to, and I only have one project
Copied a recording out to a scratch directory to try the conversion without touching the repo: There is one project in the whole workspace. Why does it not just pick it?
asked by Koen Vermeulen309 ·What does sdods record convert actually write, and where do I review it before it lands?
I have four recordings under projects/demo-shop/recorded/ and I have been told to convert them rather than hand-write the features. Before I point it at anything that matters:…
asked by Sergio Alcaraz415 ·Can one session give me both the recorded spec and a HAR for offline replay?
I want the network traffic from a recording session so we can replay the flow offline in CI later. Do I record the flow, then do a second pass for the HAR, or is there a way to…
asked by Bruno Teixeira694 ·Recording with --device "iPhone 15" silently ignores my --viewport
The session came up at the iPhone's own size, not 390x900. No warning, no note in the header comment, it just ignored the flag. Bug, or intended?
asked by Fiona McAllister159 ·Recorded spec is all .btn_primary and nth-child — fix the locators before or after converting?
Recorded a checkout. The spec is mostly this: Each of those came back with a // sdods:fragile comment above it, and the CLI finished with I would rather not convert this into a…
asked by Nikhil Sane487 ·Does every scenario log in separately, or is there one place the login state comes from?
Trying to work out how much of our suite time is logging in. We have thirty-odd UI scenarios tagged @user:standard, plus somebody recording a flow most mornings. Do those all log…
asked by Chandra Pillai873 ·auth list says the cached state is fresh but the recording opens logged out
Starting a recording with --user standard drops me on the sign-in page, but the cache insists it has a good state: Eighteen minutes old, and we never touched auth.maxAgeMinutes,…
asked by Renata Kohl608 ·record --user stops with: auth.strategy "custom" needs an auth export
Our login is bespoke, so the project yaml says: And every recording with a role stops immediately: The file is right there. What is it actually looking for?
asked by Sunita Kale982 ·How do I record a checkout when the app needs me logged in first?
Every recording I make starts on the login page, so the first stretch of the spec is me typing a username and a password. Worse, when I re-record after a change the login part…
asked by Karine Moreau655 ·sdods record on our Linux build agent: codegen exited with code 1 and produced no spec
We moved recording onto the same Linux build agent that runs the nightly suite so nobody has to install browsers locally. It dies before a browser ever appears. sdods run -p…
asked by Avery Hollis188 ·