@elench/testkit 0.1.120 → 0.1.122

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.
@@ -635,6 +635,7 @@ async function collectTrackedFiles(productDir) {
635
635
  .split("\0")
636
636
  .map((entry) => normalizePath(entry))
637
637
  .filter(Boolean)
638
+ .filter((entry) => fs.existsSync(path.join(productDir, entry)))
638
639
  .sort((left, right) => left.localeCompare(right));
639
640
  }
640
641
 
@@ -123,6 +123,7 @@ class ProvisionedUiSandbox {
123
123
  this.authInFlight = (async () => {
124
124
  const {
125
125
  expectAuthenticatedShell,
126
+ loginWithCredentials,
126
127
  persistUiSessionStorage,
127
128
  provisionUiIdentity,
128
129
  } = await import("./provisioning.mjs");
@@ -132,7 +133,17 @@ class ProvisionedUiSandbox {
132
133
  frontendBaseUrl: this.frontendBaseUrl,
133
134
  id: this.id,
134
135
  });
135
- if (this.options.persistStorage !== false) {
136
+ if (this.options.persistStorage === false) {
137
+ await loginWithCredentials(
138
+ page,
139
+ this.identity.credentials.email,
140
+ this.identity.credentials.password,
141
+ {
142
+ ...this.options,
143
+ frontendBaseUrl: this.frontendBaseUrl,
144
+ }
145
+ );
146
+ } else {
136
147
  await persistUiSessionStorage(page, this.identity, {
137
148
  ...this.options,
138
149
  frontendBaseUrl: this.frontendBaseUrl,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/next-analysis",
3
- "version": "0.1.120",
3
+ "version": "0.1.122",
4
4
  "description": "SWC-backed Next.js source analysis primitives for Erench tools",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit-bridge",
3
- "version": "0.1.120",
3
+ "version": "0.1.122",
4
4
  "description": "Browser bridge helpers for testkit",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "typecheck": "tsc -p tsconfig.json --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@elench/testkit-protocol": "0.1.120"
25
+ "@elench/testkit-protocol": "0.1.122"
26
26
  },
27
27
  "private": false
28
28
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit-protocol",
3
- "version": "0.1.120",
3
+ "version": "0.1.122",
4
4
  "description": "Shared browser protocol for testkit bridge and extension consumers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/ts-analysis",
3
- "version": "0.1.120",
3
+ "version": "0.1.122",
4
4
  "description": "TypeScript compiler-backed source analysis primitives for Erench tools",
5
5
  "type": "module",
6
6
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit",
3
- "version": "0.1.120",
3
+ "version": "0.1.122",
4
4
  "description": "Assistant-first CLI for running, inspecting, and debugging local testkit suites",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -95,10 +95,10 @@
95
95
  },
96
96
  "dependencies": {
97
97
  "@babel/code-frame": "^7.29.0",
98
- "@elench/next-analysis": "0.1.120",
99
- "@elench/testkit-bridge": "0.1.120",
100
- "@elench/testkit-protocol": "0.1.120",
101
- "@elench/ts-analysis": "0.1.120",
98
+ "@elench/next-analysis": "0.1.122",
99
+ "@elench/testkit-bridge": "0.1.122",
100
+ "@elench/testkit-protocol": "0.1.122",
101
+ "@elench/ts-analysis": "0.1.122",
102
102
  "@oclif/core": "^4.10.6",
103
103
  "@playwright/test": "^1.52.0",
104
104
  "esbuild": "^0.25.11",