Yusuf Demir
Learning this in public.
Member · 201 reputation · here since 9 May 2023
Asked (10)
Every generated API scenario hits the UI origin — ui and api baseUrl came out identical
Fresh project from analyze. The starter @api features all fail with HTML where JSON should be, and the reason is in the env file: Our API is at /api on the same origin. I…
asked by Yusuf Demir201 ·Green on my machine, red on the runner — it was replaying a HAR the whole time
Spent most of a day on this so I am writing it down. A colleague recorded @har:posts a fortnight ago. Since then my local runs have been passing against a payload that no longer…
asked by Yusuf Demir201 ·testIdAttribute is data-test, so why does the heal suggestion say getByTestId?
Our app has used data-test since long before we adopted SDODS. I set it in the project file: Heal report suggests getByTestId('cart-badge') for a locator that healed. I pasted…
asked by Yusuf Demir201 ·sdods mcp install windsurf says Unknown client — is Windsurf just not supported?
Half the team uses Windsurf. Tried the obvious thing: Do I have to hand-write the config, or is there a flag I am missing?
asked by Yusuf Demir201 ·Diff flaps between clean and 2% on a page with a fade-in, but animations are disabled
About one run in four: The rest of the time it is clean. The only thing on that page that moves is a card that fades in when the summary request comes back. My understanding was…
asked by Yusuf Demir201 ·First UI run: five scenarios fail on the sign-in page, but the API layer was green
Working through the workshop on my own checkout of the sample app. The API layer passed straight away. Then the browser: Five failures, and as far as I can tell they are all the…
asked by Yusuf Demir201 ·Duplicate scenario title error but the two titles are not identical
Line 12 is Scenario: Add an item to the cart and line 41 is Scenario: add an item to the cart . Different capital letter, and the second one has a trailing space. I would not…
asked by Yusuf Demir201 ·No row in dataset "users" where role = "admin" and the value is in the file
grep -c admin on the CSV says 1. The column is spelled role. I have restarted, cleared .sdods, and read the line about forty times.
asked by Yusuf Demir201 ·Chromium downloaded fine but will not launch on a fresh Ubuntu server
Minimal Ubuntu server image, no desktop installed. The install completed and the engine is on disk, but any UI scenario dies before the first step: API scenarios run perfectly on…
asked by Yusuf Demir201 ·CI job exits 2 with no test results and an empty report — what is code 2?
Pipeline step fails, the report artefact is empty, and the only thing in the log is the process exiting 2. When tests actually fail we get 1 and a report. What is 2?
asked by Yusuf Demir201 ·
Answered (4)
An admin approves what a standard user submitted — how do two roles fit in one scenario?
The flow we need to cover: a standard user submits an expense claim, an admin approves it, and the standard user sees it move to approved. @user:standard gives me one role. I…
asked by Anouk de Vries238 ·Chaining a created id into a UI assertion: JSON path $.id is undefined in the last response
Trying to seed through the API and assert in the browser, which is the whole reason we picked this thing. The endpoint definitely returns an id, I checked with curl.
asked by Bea Lindqvist4,318 ·My page object needs a signed-in session before goto() — where does the login belong?
Every one of our scenarios opens with the same three steps: go to login, fill two fields, submit. Then the real scenario starts. It is slow — about four seconds a scenario across…
asked by Helle Borg352 ·One scenario fails about one run in twenty — what do I do with it?
We have a checkout scenario that fails maybe one run in twenty. Different step each time, usually a timeout. Rerunning is always green, so nobody has ever debugged it, and by now…
asked by Chandra Pillai873 ·