@itwin/rpcinterface-full-stack-tests 3.4.0-dev.22 → 3.4.0-dev.23

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_c5fe.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\6\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"_c5fe.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\1\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
@@ -287148,7 +287148,7 @@ class TestContext {
287148
287148
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
287149
287149
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
287150
287150
  await core_frontend_1.NoRenderApp.startup({
287151
- applicationVersion: "3.4.0-dev.22",
287151
+ applicationVersion: "3.4.0-dev.23",
287152
287152
  applicationId: this.settings.gprid,
287153
287153
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
287154
287154
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -287215,12 +287215,6 @@ describe("Basic Scenarios", async () => {
287215
287215
  const iModelId = testContext.iModelWithChangesets.iModelId;
287216
287216
  await openIModelAndQueryPage(iTwinId, iModelId);
287217
287217
  });
287218
- // imodeljs does not allow this -- changesetid must be non-empty for routing purposes.
287219
- it.skip("should successfully open a new IModel without changesets for read and Get Properties for an Element TestCase:872675", async () => {
287220
- const iTwinId = testContext.iTwinId;
287221
- const iModelId = testContext.iModelWithChangesets.iModelId;
287222
- await openIModelAndQueryPage(iTwinId, iModelId);
287223
- });
287224
287218
  it("should open iModel and Execute Query TestCase:819343", async () => {
287225
287219
  var e_1, _a;
287226
287220
  const iModel = await testContext.iModelWithChangesets.getConnection();
@@ -287240,52 +287234,6 @@ describe("Basic Scenarios", async () => {
287240
287234
  }
287241
287235
  expect(rows).not.to.be.empty;
287242
287236
  });
287243
- /* This test is wrong. If two users open the same imodel using the same mode in the same backend, then they
287244
- will share a single briefcase in the backend. When either user closes the imodel, then the briefcase will
287245
- be closed. The backend does not maintain some kind of ref count that would keep the briefcase open
287246
- for the second connection.
287247
- it("should not affect other users when iModel is closed TestCase:819344 #orchestrator", async () => {
287248
- const iModelId = testContext.iModelWithChangesets.iModelId;
287249
- const iTwinId = testContext.iModelWithChangesets.iTwinId;
287250
- const openMode = OpenMode.Readonly;
287251
-
287252
- const originalAppAuth = TestRpcClientManager.configuration.applicationAuthorizationValue;
287253
-
287254
- try {
287255
- // Get access token of user that does not have permission to read given iModel
287256
- const user1accessToken = await testContext.regularUser1.getAccessToken();
287257
- const user1accessTokenString = user1accessToken.toTokenString() || "";
287258
-
287259
- TestRpcClientManager.configuration.applicationAuthorizationValue = user1accessTokenString;
287260
- const iModel1 = await IModelConnection.open(user1accessToken, iTwinId, iModelId, openMode);
287261
-
287262
- // Open the same imodel for another user
287263
- const user2accessToken = await testContext.regularUser2.getAccessToken();
287264
- const user2accessTokenString = user2accessToken.toTokenString() || "";
287265
-
287266
- TestRpcClientManager.configuration.applicationAuthorizationValue = user2accessTokenString;
287267
- const iModel2 = await IModelConnection.open(user2accessToken, iTwinId, iModelId, openMode);
287268
- const query = "SELECT ECInstanceId AS id FROM BisCore.Element";
287269
-
287270
- // Act: Close the iModel for the same user
287271
- {
287272
- TestRpcClientManager.configuration.applicationAuthorizationValue = user1accessTokenString;
287273
- const rows = await iModel1.queryPage(query);
287274
- expect(rows).to.exist.and.be.not.empty;
287275
- await iModel1.close(user1accessToken);
287276
- }
287277
-
287278
- // Assert: Previous session close should not affect other users
287279
- {
287280
- TestRpcClientManager.configuration.applicationAuthorizationValue = user2accessTokenString;
287281
- const rows = await iModel2.queryPage(query);
287282
- expect(rows).to.exist.and.be.not.empty;
287283
- }
287284
- } finally {
287285
- TestRpcClientManager.configuration.applicationAuthorizationValue = originalAppAuth;
287286
- }
287287
- });
287288
- */
287289
287237
  });
287290
287238
 
287291
287239
 
@@ -305612,7 +305560,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305612
305560
  /***/ ((module) => {
305613
305561
 
305614
305562
  "use strict";
305615
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.22","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.22","@itwin/core-bentley":"workspace:^3.4.0-dev.22","@itwin/core-common":"workspace:^3.4.0-dev.22","@itwin/core-geometry":"workspace:^3.4.0-dev.22","@itwin/core-orbitgt":"workspace:^3.4.0-dev.22","@itwin/core-quantity":"workspace:^3.4.0-dev.22","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.22"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305563
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.23","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.23","@itwin/core-bentley":"workspace:^3.4.0-dev.23","@itwin/core-common":"workspace:^3.4.0-dev.23","@itwin/core-geometry":"workspace:^3.4.0-dev.23","@itwin/core-orbitgt":"workspace:^3.4.0-dev.23","@itwin/core-quantity":"workspace:^3.4.0-dev.23","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.23"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305616
305564
 
305617
305565
  /***/ }),
305618
305566