Skip to content

Commit 5fce382

Browse files
authored
Run YAML cases through Rstest (#2537)
* feat(cli): run yaml cases through rstest * feat(cli): run yaml tests through virtual rstest entries * feat(cli): preserve yaml runner semantics with rstest * fix(cli): preserve yaml rstest execution semantics * test(cli): cover rstest yaml runner semantics * fix(workflow): stabilize rstest yaml runner checks * refactor(cli): share yaml execution summary logic * refactor(cli): reuse shared execution summary type * fix(core): preserve yaml runtime interpolation * refactor(cli): extract yaml batch executor (#2561) * refactor(core): simplify yaml env interpolation * refactor(web-integration): inject puppeteer persistence paths * fix(core): avoid regex yaml env interpolation * refactor(cli): run yaml cases directly in rstest * fix(core): preserve explicit cache disablement * chore(cli): pin @rstest/core to 0.10.3 * fix(cli): make yaml global config env overrides partial Global config web/android/ios/target are deep-merged overlays onto each file's config, so url must not be required on them. Type them as Partial to match the merge semantics and unblock the new test type-check step. Also regenerate the lockfile from main so @rstest/core stays the only added dependency and apps/studio keeps resolving @rsbuild/core@1.6.15.
1 parent 2e9b67a commit 5fce382

31 files changed

Lines changed: 4184 additions & 811 deletions

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@midscene/ios": "workspace:*",
2626
"@midscene/shared": "workspace:*",
2727
"@midscene/web": "workspace:*",
28+
"@rstest/core": "0.10.3",
2829
"http-server": "14.1.1",
2930
"lodash.merge": "4.6.2",
3031
"puppeteer": "24.6.0"

packages/cli/rslib.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export default defineConfig({
4242
source: {
4343
entry: {
4444
index: 'src/index.ts',
45+
'framework/index': 'src/framework/index.ts',
4546
},
4647
define: {
4748
__VERSION__: JSON.stringify(version),

0 commit comments

Comments
 (0)