Testdriver making assertions
Skill testdriverai/testdriverai/ai/skills/testdriver-making-assertions
Verify application state with AI-powered assertionsFrom its SKILL.md
npx -y skills add testdriverai/testdriverai --skill testdriver-making-assertionsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.0 KB, 188 tokens by cl100k_base, as published. Nobody here has run it
<!-- Generated from making-assertions.mdx. DO NOT EDIT. -->
Making Assertions
Use AI-powered assertions to verify application state:
// Verify visibility
await testdriver.assert('login page is displayed');
await testdriver.assert('submit button is visible');
await testdriver.assert('loading spinner is not visible');
// Verify content
await testdriver.assert('page title is "Welcome"');
await testdriver.assert('success message says "Account created"');
await testdriver.assert('error message contains "Invalid email"');
// Verify state
await testdriver.assert('checkbox is checked');
await testdriver.assert('dropdown shows "United States"');
await testdriver.assert('button is disabled');
// Verify visual appearance
await testdriver.assert('submit button is blue');
await testdriver.assert('form has red border');
<Info>Assertions are not cached and always re-evaluated to ensure accuracy.</Info>
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.