@xera-ai/cli 0.9.4 → 0.9.5
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.
package/dist/index.js
CHANGED
|
@@ -405,9 +405,6 @@ async function initCommand(opts) {
|
|
|
405
405
|
writeFileSync2(gitignorePath, `${gitignoreAdditions.trim()}
|
|
406
406
|
`);
|
|
407
407
|
}
|
|
408
|
-
if (wantsWeb) {
|
|
409
|
-
copyDir(join3(TEMPLATE_DIR, "sample/SAMPLE-001"), join3(cwd, ".xera/SAMPLE-001"));
|
|
410
|
-
}
|
|
411
408
|
if (wantsHttp) {
|
|
412
409
|
copyDir(join3(TEMPLATE_DIR, "sample/SAMPLE-HTTP-001"), join3(cwd, ".xera/SAMPLE-HTTP-001"));
|
|
413
410
|
}
|
|
@@ -470,16 +467,16 @@ Next:
|
|
|
470
467
|
1) Set credentials in .env.local (both web logins and API tokens)
|
|
471
468
|
2) Run pre-authentication:
|
|
472
469
|
bun run xera:auth-setup
|
|
473
|
-
3)
|
|
474
|
-
/xera-run SAMPLE-001
|
|
475
|
-
/xera-run
|
|
470
|
+
3) Start testing:
|
|
471
|
+
/xera-run SAMPLE-HTTP-001 # API sample
|
|
472
|
+
/xera-run <YOUR-TICKET> # UI tickets
|
|
476
473
|
` : `
|
|
477
474
|
Next:
|
|
478
475
|
1) Set your Jira credentials in .env.local
|
|
479
476
|
2) Run pre-authentication:
|
|
480
477
|
bun run xera:auth-setup
|
|
481
|
-
3)
|
|
482
|
-
Open Claude Code in this directory and run: /xera-run
|
|
478
|
+
3) Start testing:
|
|
479
|
+
Open Claude Code in this directory and run: /xera-run <TICKET>
|
|
483
480
|
`;
|
|
484
481
|
p.note(nextSteps.trim(), "Next steps");
|
|
485
482
|
p.outro(pc2.green("xera initialized!"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xera-ai/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"xera": "./bin/xera"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@xera-ai/core": "^0.9.
|
|
19
|
-
"@xera-ai/skills": "^0.9.
|
|
18
|
+
"@xera-ai/core": "^0.9.5",
|
|
19
|
+
"@xera-ai/skills": "^0.9.5",
|
|
20
20
|
"@clack/prompts": "1.4.0",
|
|
21
21
|
"cac": "7.0.0",
|
|
22
22
|
"picocolors": "1.1.1"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { expect, test } from '@playwright/test';
|
|
2
|
-
|
|
3
|
-
test.describe('SAMPLE-001: Playwright docs site smoke test', () => {
|
|
4
|
-
test('Home page loads with expected title', async ({ page }) => {
|
|
5
|
-
await page.goto('https://playwright.dev');
|
|
6
|
-
await expect(page).toHaveTitle(/Playwright/);
|
|
7
|
-
await expect(page.getByRole('heading', { level: 1 })).toBeVisible();
|
|
8
|
-
});
|
|
9
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# SAMPLE-001: Playwright documentation site loads
|
|
2
|
-
|
|
3
|
-
## Story
|
|
4
|
-
As a QA engineer setting up xera,
|
|
5
|
-
I want to verify the framework can run an end-to-end test against a public website,
|
|
6
|
-
so that I know my environment is set up correctly.
|
|
7
|
-
|
|
8
|
-
## Acceptance Criteria
|
|
9
|
-
- Navigate to https://playwright.dev
|
|
10
|
-
- Page title contains "Playwright"
|
|
11
|
-
- Main heading is visible
|