Hsu Wei-lin
API contracts, OpenAPI and schema assertions.
Illustrative user
Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.
Asked (5)
Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.
The UI says saved and no row is written — how do I assert on the database?
We keep getting the same class of bug: the form submits, the toast says saved, the UI shows the new item from local state, and nothing was persisted. It survives every UI…
asked by Hsu Wei-linPowerShell installer ignores every option I pass it
I want the installer to also scaffold a workspace, so I tried adding the parameter to the one-liner: PowerShell does not like that, and every variation I have tried either errors…
asked by Hsu Wei-linlint says Undefined step: Given I am on the checkout page, but the method is right there
The class has it: Spelling matches character for character, I diffed it. The file is pages/CheckoutPage.ts. What else is there to check?
asked by Hsu Wei-linSecret literal at "env.vars.password" — I want the password in the env file, why is that refused?
Put the login password straight into projects/demo-shop/envs/staging.yaml so the data-driven login scenarios can pick it up: Every command now refuses to start: This is a…
asked by Hsu Wei-linWhere does a run actually write its files? I cannot find the report
First real run finished and the console printed the totals, but I have no idea where anything landed. I was expecting a reports/ folder next to features/. There is a .sdods…
asked by Hsu Wei-lin
Answered (11)
Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.
Windows protected your PC — how do I get past SmartScreen on the installer?
Downloaded the Windows installer and SmartScreen blocks it with the blue dialog. There is no obvious way to continue — only a Don't run button. Two questions really: how do I…
asked by Renata Kohlscoop install sdods gave me the app, not the sdods command — where is the CLI on Windows?
Added the bucket and installed: I now have a desktop application. What I wanted was sdods run in a terminal. Did I pick the wrong package name?
asked by Fiona McAllisterRunning the smoke suite on a plane — what do I need so nothing touches the network?
Long flight, and separately we are being asked to prove the suite runs on an air-gapped runner. Same problem twice, so I would like to get it right once. Everything is tagged…
asked by Rasha HalabiGET replays fine, the POST in the same scenario misses on every run
Recorded, committed, replays fine for a day, then the POST starts failing and never recovers. The GET against the same endpoint keeps working. The entry is in the file. I opened…
asked by Tanvi BhattThe API added a field — how do I re-record so the old entries stop coming back?
Backend renamed a field. I re-recorded: The scenario passes now, but the file grew instead of being replaced, and the old response with the old field name is still sitting in…
asked by Nikhil SaneEvery API scenario fails at once with a connection error — where do I start?
All 34 API scenarios, same run, same message, no exceptions: Yesterday they passed. I have not touched the features. Do I start bisecting the suite or is this something else?
asked by Chandra PillaiShould HAR files go into git? Ours are nearly a megabyte each
Three recordings and the repository is a couple of megabytes heavier: Two worries. Size, obviously, since every re-record rewrites the whole blob and the history grows. And the…
asked by Ify AdeyemiCan one HAR recording cover staging and prod, or is it per environment?
We have three environments that serve identical payloads. Re-recording the same traffic three times feels silly. sdods har list prints an env column so I assume the answer is no,…
asked by Sam OrbisonScenario Outline with 20 Examples rows, or a CSV dataset? What do reviewers expect here
We have a shipping tax table: twenty countries, each with a rate and an expected label on the confirmation page. I wrote it as a Scenario Outline and the feature file is now a…
asked by Jide OkonkwoLint says "found @smoke @regression" — why can a scenario not be in both suites?
I tagged our happy-path checkout scenario with both suite tags because I want it in the pull-request smoke run and in the nightly regression run. Lint disagrees: Surely wanting a…
asked by Annika Solheimsdods run -l api finished in under two seconds — did it actually run anything?
I pointed the CLI at staging and asked for the API layer only: It printed nine passing scenarios and was finished before I had read the command back. No browser window, no window…
asked by Dinuka Perera