nemojs-skill
/nemojs-skill
Pisze testy automatyzacji w Nemo.js, frameworku PayPal opartym na Selenium dla Node.js.
- Autor
- LambdaTest ↗
- Repozytorium
- agent-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 3
Brak sygnałów. Repozytorium zmienione 05.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pisze testy automatyzacji w Nemo.js, frameworku PayPal opartym na Selenium dla Node.js.
Wyzwalacze z opisu
Oryginalny opis (EN)
Generates Nemo.js automation tests in JavaScript. PayPal's Selenium-based test framework for Node.js. Use when user mentions "Nemo.js", "nemo automation". Triggers on: "Nemo.js", "nemo automation", "nemo test", "PayPal test framework".
Jak działa
- Core Patterns
- Setup: npm install nemo nemo-view --save-dev
- Run: npx mocha test/.js --timeout 30000
- Deep Patterns
Podgląd SKILL.md
---
name: nemojs-skill
description: >
Generates Nemo.js automation tests in JavaScript. PayPal's Selenium-based
test framework for Node.js. Use when user mentions "Nemo.js", "nemo
automation". Triggers on: "Nemo.js", "nemo automation", "nemo test",
"PayPal test framework".
languages:
- JavaScript
category: e2e-testing
license: MIT
metadata:
author: TestMu AI
version: "1.0"
---
# Nemo.js Automation Skill
> PayPal's Selenium-based test automation framework for Node.js.
For TestMu AI cloud execution, see [reference/cloud-integration.md](reference/cloud-integration.md) and [shared/testmu-cloud-reference.md](../shared/testmu-cloud-reference.md).
## Core Patterns
### Basic Test (Mocha)
```javascript
const Nemo = require('nemo');
const { expect } = require('chai');
describe('Login Flow', function() {
this.timeout(30000);
let nemo;
before(async () => {
nemo = await Nemo();
});
after(async () => {
await nemo.driver.quit();
});
it('should login with valid credentials', async () => {
await nemo.driver.get(nemo.data.baseUrl + '/login');
const email = await nemo.view._find('#email');
await email.sendKeys('user@test.com');
const password = await nemo.view._find('#password');
await password.sendKeys('password123');
await nemo.view._find('button[type="submit"]').click();
await nemo.view._waitVisible('.dashboard', 10000);
const url = await nemo.driver.getCurrentUrl();
expect(url).to.include('/dashboard');
});
it('should show error for invalid credentials', async () => {
await nemo.driver.get(nemo.data.baseUrl + '/login');
await nemo.view._find('#email').sendKeys('wrong@test.com');
await nemo.view._find('#password').sendKeys('wrong');
await nemo.view._find('button[type="submit"]').click();
await nemo.view._waitVisible('.error', 5000);
const error = await nemo.view._find('.error');
const text = await error.getText();
expect(text).to.include('Invalid');
});
});
```
### View Locators
```javascript
await nemo.view._find('#css-id'); // CSS
await nemo.view._find('.class-name'); // CSS class
await nemo.view._find('[data-testid="login"]'); // Data attribute
await nemo.view._find('xpath://button[@type]'); // XPath prefix
await nemo.view._waitVisible(locator, timeout); // Wait + find
await nemo.view._finds('.items'); // Find multiple
```
### Configuration (nemo.config.json)
```json
{
"driver": {
"browser": "chrome",
"server": "http://localhost:4444/wd/hub"
},
"data": {
"baseUrl": "http://localhost:3000"
},
"view": ["locator"],
"plugins": {
"view": { "module": "nemo-view" }
}
}
```
### Cloud Execution on TestMu AI
Set environment variables: `LT_USERNAME`, `LT_ACCESS_KEY`
```json
{
"driver": {
"browser": "chrome",
"server": "https://hub.lambdatest.com/wd/hub",
"serverCaps": {
"username": "${LT_USERNAME}",
"accessKey": "${LT_ACCESS_KEY}"
},
"capabilities": {
"LT:Options": {
"user": "${LT_USERNAME}",
"accessKey": "${LT_ACCESS_KEY}",
"build": "Nemo Build",
"name": "Nemo Test",
"platformName": "Windows 11",
"video": true,
"console": true,
"network": true
}
}
}
}
```
## Setup: `npm install nemo nemo-view --save-dev`
## Run: `npx mocha test/*.js --timeout 30000`
## Deep Patterns
For advanced patterns, debugging guides, CI/CD integration, and best practices,
see `reference/playbook.md`.
Pliki w paczce (4)
- SKILL.md 3 KB
- reference/advanced-patterns.md 2 KB
- reference/cloud-integration.md 1 KB
- reference/playbook.md 7 KB
Wersje
W bazie nie ma innych skilli o nazwie nemojs-skill.
Migawka bazy z 13.11.2026 · wersja paczki 9b311b1f6007 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 96python-tests
Podpowiada, jak pisać testy w Pythonie dla NeMo Fabric. - 100test-node-binding
Buduje i testuje wiązanie Node.js do NeMo Relay: zmiany w crates/node oraz kontrole integracji z Node. - 100test-go-binding
Buduje i testuje wiązanie Go do NeMo Relay: zmiany w go/nemo_relay oraz kontrole integracji z Go. - 95nightwatchjs-skill
Generuje testy E2E w NightwatchJS w JavaScript, z Selenium WebDriver, asercjami i obiektami stron. - 100verification-loop
Przeprowadza wieloetapową weryfikację pracy sesji Nemo Code przed deklaracją, że jest zakończona. - 100nemo-relay-migrate-from-flow
Migruje aplikacje, przykłady i repozytoria z NeMo Flow do NeMo Relay w Pythonie, Rust, Node.js, Go, CLI i konfiguracji.