Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(mcp): introducing Serenity/JS MCP server#2912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jan-molak wants to merge64 commits intomain
base:main
Choose a base branch
Loading
fromfeatures/mcp

Conversation

@qltysh
Copy link

qltyshbot commentedJul 29, 2025
edited
Loading

❌ 13 blocking issues (13 total)

ToolCategoryRuleCount
qltyDuplicationFound 15 lines of identical code in 2 locations (mass = 101)6
qltyDuplicationFound 21 lines of similar code in 2 locations (mass = 84)5
qltyStructureFunction with high complexity (count = 18): pageElementFromLocator2

Core tests migrated from ts-node to tsx to enable testing the new functionality
@qltysh
Copy link

qltyshbot commentedAug 20, 2025
edited
Loading

Diff Coverage: The code coverage on the diff in this pull request is52.9%.

Total Coverage: This PR will decrease coverage by2.02%.

File Coverage Changes
PathFile Coverage ΔIndirect
packages/core/src/errors/ErrorOptions.ts100.0
packages/core/src/events/AsyncOperationAborted.ts13.8
packages/core/src/events/SceneBackgroundDetected.ts12.9
packages/core/src/instance.ts0.4
packages/core/src/io/FileSystem.ts0.8
packages/core/src/io/loader/ModuleLoader.ts-4.0
packages/core/src/io/reflection/ValueInspector.ts2.4
packages/core/src/model/Artifact.ts8.2
packages/core/src/model/ArtifactDeserialiser.ts83.9
packages/core/src/model/artifacts/Photo.ts-3.7
packages/core/src/screenplay/questions/expectations/ExpectationDetails.ts1.5
packages/core/src/stage/StageManager.ts1.4
packages/mcp/src/server/context/Imports.ts100.0
packages/mcp/src/server/context/ScreenplayExecutionContext.ts91.1
packages/mcp/src/server/context/ScreenplayTemplate.ts100.0
packages/mcp/src/server/context/index.ts100.0
packages/mcp/src/server/context/schematics.ts100.0
packages/mcp/src/server/controllers/CapabilityController.ts100.0
packages/mcp/src/server/controllers/Controller.ts100.0
packages/mcp/src/server/controllers/ListCapabilitiesController.ts100.0
packages/mcp/src/server/controllers/index.ts100.0
packages/mcp/src/server/controllers/project/ProjectAnalyzeDependenciesController.ts21.0
packages/mcp/src/server/controllers/project/ProjectAnalyzeRuntimeEnvironmentController.ts24.4
packages/mcp/src/server/controllers/project/ProjectConfigurePackageJsonScriptsController.ts41.7
packages/mcp/src/server/controllers/project/ProjectConfigurePlaywrightTestController.ts21.6
packages/mcp/src/server/controllers/project/ProjectCreateExampleTestFileController.ts31.2
packages/mcp/src/server/controllers/project/index.ts100.0
packages/mcp/src/server/controllers/test-automation/TestAutomationController.ts83.3
packages/mcp/src/server/controllers/test-automation/index.ts100.0
packages/mcp/src/server/integration/PlaywrightBrowserConnection.ts95.7
packages/mcp/src/server/schema.ts100.0
🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

| 'frame'
| 'frame-locator'
| 'and'
| 'or'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 21 lines of similar code in 2 locations (mass = 84)[qlty:similar-code]

}
}

throw new Error(`Locator kind "${ kind }" is not yet supported`);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Function with high complexity (count = 18): pageElementFromLocator[qlty:function-complexity]

},
instructions,
nextSteps,
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Function with high complexity (count = 18): scanProjectRuntime[qlty:function-complexity]

else {
defaultExportedFunction.addTypeArgument(serenityType);
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 15 lines of identical code in 2 locations (mass = 101)[qlty:identical-code]

moduleSpecifier,
});
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 20 lines of identical code in 2 locations (mass = 106)[qlty:identical-code]

idempotentHint: true,
openWorldHint: false,
}
});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 17 lines of similar code in 2 locations (mass = 64)[qlty:similar-code]

else {
defaultExportedFunction.addTypeArgument(serenityType);
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 15 lines of identical code in 2 locations (mass = 101)[qlty:identical-code]

moduleSpecifier,
});
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 20 lines of identical code in 2 locations (mass = 106)[qlty:identical-code]

name: 'reporter',
initializer: this.asJsonString([ serenityReporter ]),
});
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 47 lines of similar code in 2 locations (mass = 238)[qlty:similar-code]

name: 'use',
initializer: this.asJsonString(fixtureDefaults),
});
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Found 38 lines of identical code in 2 locations (mass = 165)[qlty:identical-code]

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@qltyshqltysh[bot]qltysh[bot] left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@jan-molak

[8]ページ先頭

©2009-2025 Movatter.jp