diff --git a/cli/tests/generic.spec.ts b/cli/tests/generic.spec.ts new file mode 100644 index 000000000..cca952bf9 --- /dev/null +++ b/cli/tests/generic.spec.ts @@ -0,0 +1,12 @@ +import { test, expect } from '@playwright/test'; +import * as cli from '@helpers/cliHelper'; + + /** + * T1258 : Verify pmm-admin status shows node name + */ +test('run pmm-status and grep NodeName', async ({}) => { + const output = await cli.exec('sudo pmm-admin status'); + await output.assertSuccess(); + await output.outContains('Node name: client_container_'); +}); +