ci: run the mock estate on the server that reports SYSSITE
@sasjs/utils 4.7 makes webout() emit SYSSITE from a configured site id, defaulting to 123, where %webout takes &syssite. Until 3.13.0 the prelude wrote an empty string, and dc's client routes an expired licence key and a wrong-organisation key only when startup_site_id is truthy - so on the mock estate both pages were unreachable and licensing.cy.ts failed three cases.
This commit is contained in:
1 parent
514e326be8
commit
ba32d1fa46
4 files changed
+9
-4
No files matched your search
@@ -20,6 +20,11 @@ env:
|
||||
# packaged-executable fix for the same page, so the version the tests run
|
||||
# against is the one that ships.
|
||||
#
|
||||
# 3.13.0 is the one that matters for licensing: @sasjs/utils 4.7 reports
|
||||
# SYSSITE, which %webout takes from &syssite. Before it the prelude wrote an
|
||||
# empty string, so the client - which routes expired and wrong-organisation
|
||||
# licence keys on that value - never reached those pages on the mock estate.
|
||||
#
|
||||
# 3.12.3 is on top of that for a different reason: it is the first release whose
|
||||
# package.json declares @sasjs/utils ^4.6.0, which is what gives webout() its
|
||||
# options argument. getdata, viewdata and getcolvals pass { showmeta }, and a
|
||||
@@ -27,7 +32,7 @@ env:
|
||||
# members guaranteed here rather than whatever a fresh install happens to
|
||||
# resolve. requireWeboutOptions in sasjs/mocks/sasjs/services/dcMockUtils.js
|
||||
# refuses a runtime without it.
|
||||
SASJS_SERVER_VERSION: '3.12.3'
|
||||
SASJS_SERVER_VERSION: '3.13.0'
|
||||
NODE_VERSION: '24.15.0'
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -11,7 +11,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
# the server the mocked services and app tests run against - bump deliberately
|
||||
SASJS_SERVER_VERSION: '3.12.3'
|
||||
SASJS_SERVER_VERSION: '3.13.0'
|
||||
NODE_VERSION: '24.15.0'
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
env:
|
||||
# the server the mocked services and app tests run against - bump deliberately
|
||||
SASJS_SERVER_VERSION: '3.12.3'
|
||||
SASJS_SERVER_VERSION: '3.13.0'
|
||||
NODE_VERSION: '24.5.0'
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -11,7 +11,7 @@ on:
|
||||
|
||||
env:
|
||||
# the server the mocked services and app tests run against - bump deliberately
|
||||
SASJS_SERVER_VERSION: '3.12.3'
|
||||
SASJS_SERVER_VERSION: '3.13.0'
|
||||
NODE_VERSION: '24.15.0'
|
||||
APP_LOC: /Public/app/dc
|
||||
SURFER_HOST: https://demo.datacontroller.io
|
||||
|
||||
Reference in new issue
Block a user