@somewhere-cloud/cli 0.38.152 → 0.38.153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.38.153
4
+
5
+ - Write signed-in app tests with `@somewhere-cloud/cli/testing`. Generated starters include a test, and test sessions renew when the access token nears expiry.
6
+ - Run one part of the app smoke check with `somewhere test --only access`, `--only crawl`, or a saved check path. The report lists the parts it skipped.
7
+ - When deployment is still pending, the CLI checks the exact release without uploading source again.
8
+ - Hosted smoke checks and explicit job waits check for early results sooner.
9
+
3
10
  ## 0.38.152
4
11
 
5
12
  - Run a scheduled job twice in a preview with `somewhere cron run <name> --preview --twice` and see each result and table row-count change.
package/README.md CHANGED
@@ -329,6 +329,12 @@ MIT © Somewhere HQ, Inc.
329
329
 
330
330
  ## Test any Somewhere app
331
331
 
332
+ Use the supported `@somewhere-cloud/cli/testing` import from Node or Playwright.
333
+ `openTestApp()` opens the linked app, `app.users(3)` returns signed-in sessions,
334
+ and `app.cleanup()` removes this test's fixtures. For a saved preview use
335
+ `openTestApp({ preview: true })`. See [Testing your app](https://somewhere.cloud/docs/test)
336
+ for the complete example.
337
+
332
338
  Add the CLI with `npm install --save-dev @somewhere-cloud/cli`, then import
333
339
  `createUser`, `signIn`, `UserSession`, `expectRefusal`, and `waitForApp` from
334
340
  `@somewhere-cloud/cli/testing` in Node tests. No starter is required.