Tobi Schrader
Contract testing, mostly.
Member · 97 reputation · here since 19 Apr 2021
Asked (5)
doctor reports chromium missing but the install said it downloaded it
Install finished with no errors. sdods doctor disagrees about the browser: Everything else in the report is fine. Do I need to reinstall everything, or is there a smaller fix?
asked by Tobi Schrader97 ·@data:users errors with "is not a declared dataset (logins, posts)" after a rename
We renamed the dataset from users to logins in the yaml and updated the steps. Lint now fails on the tags we forgot: Easy enough to fix, but it raises a question — the scenario…
asked by Tobi Schrader97 ·sdods report prints (missing) for the html report after a CI run
Our CI job runs the suite and archives the run, someone downloads the archive and opens it locally. Locally, straight after a run, everything is there. On the downloaded copy: So…
asked by Tobi Schrader97 ·Layer "ui" is not enabled for project demo-shop — but the features are right there
I have @ui scenarios in features/cart/ and they lint clean. Running them: Exit code 2. What is checking this, if not the feature files?
asked by Tobi Schrader97 ·Environment "qa" is not in envs.available [local, staging] — I created envs/qa.yaml already
Wrote projects/demo-shop/envs/qa.yaml by copying staging.yaml and changing the URLs. Then: The file is right there. Why does it also need declaring?
asked by Tobi Schrader97 ·
Answered (6)
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 ·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 ·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 ·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 ·I do not want healing to rescue a broken locator — I want the test to fail
Possibly an unpopular opinion, but: if a developer renames a button and my test still passes, my test did not test anything. Yesterday a whole feature shipped with the wrong…
asked by Vikram Rajagopal1,240 ·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 ·