Gio Castellano
Consultant. Sets these up and hands them over.
Member · 521 reputation · here since 8 Feb 2022
Asked (10)
macOS says "SDODS is damaged and can't be opened" after downloading the app
Downloaded the desktop app, dragged it to Applications, double-clicked, and: Downloaded it twice in case something was truncated. Same message. Is the download actually broken or…
asked by Gio Castellano521 ·I use no authentication still sends the bearer token — my 401 assertion gets a 200
Deny-direction scenario, as plain as it gets: The endpoint does deny anonymous callers — I checked with curl. Our envs/staging.yaml has: and if I remove that block the scenario…
asked by Gio Castellano521 ·Guide says baselines live under __screenshots__/<browser>/ — mine are in demo-shop--ui--chromium/darwin/
Screenshots and visual testing says: What is actually on disk after a run: Two extra segments and neither of them is just the browser. I want to write a cleanup script that…
asked by Gio Castellano521 ·Reading summary.json in a shell script — which keys are stable?
I want the CI job to post totals to Slack without scraping console output. .sdods/runs/<id>/summary.json looks like exactly what I need: Before I build on it: is this file part…
asked by Gio Castellano521 ·Warning: "Feature is not under a declared module directory" — but the file runs fine
I put a new file at features/smoke-checks.feature, straight under features/. It runs, it passes, but every lint gives me: It is only a warning so nothing is blocked, but it is…
asked by Gio Castellano521 ·Why does healing never kick in for expectHidden()?
Every positive assertion in our page object heals fine. This one never does: assert is in heal.actions, the context has a role, a name and a test id. The step fails with an…
asked by Gio Castellano521 ·-t @regression,@mock ran more scenarios, not fewer
I wanted the regression scenarios that are mocked, so I asked for both tags: It ran considerably more than either tag has on its own. I expected a comma to mean "and". What does…
asked by Gio Castellano521 ·Value in .env.staging is ignored, an old exported variable keeps winning
Rotated a credential. projects/demo-shop/.env.staging has the new one: Runs still authenticate with the old value. --explain --show-secrets confirms the old one is in there.…
asked by Gio Castellano521 ·Unknown route "checkuot" for project demo-shop — where does that list come from?
New page object, first run, immediate failure: The call is await this.goto('checkuot'). I do not remember declaring routes anywhere, so where is that list of four coming from and…
asked by Gio Castellano521 ·Dataset "users" has 3 row(s); row 5 does not exist (0-based) — is the header counted?
I wrote Given I load dataset "users" row 5 because the account I want is on line 5 of the spreadsheet. Got: Three rows? The file has four lines. And when I tried row 1 earlier it…
asked by Gio Castellano521 ·
Answered (10)
Running 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 Halabi572 ·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 ·GET 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 Bhatt126 ·Project references workspace "payments" which is not declared in sdods.workspace.yaml
Put workspace: payments in a new project so it would not sit with the rest. Now every command in the repo fails, including ones about other projects: Why does one project break…
asked by Tanvi Bhatt126 ·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 ·The 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 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 ·When should I reach for the mock step instead of @har, or the other way round?
Both stub the network. I can write this: or I can tag the scenario @har:banner and record it. They look interchangeable from where I am standing. Is there a rule for which one to…
asked by Kostya Petrov7,903 ·A header widget appears on six pages — one page object per page, or something else?
Our header carries the cart badge, the account menu and a search box, and it is on six pages. Right now the cart badge locator is copy-pasted into six page objects, which was…
asked by Nadia Belkacem8,611 ·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 ·