-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
join controller commands are different on restore
- Loading branch information
Showing
3 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
e2e/playwright/tests/get-restore-join-controller-command/test.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { test, expect } from '@playwright/test'; | ||
import { login } from '../shared'; | ||
|
||
test('get join controller command', async ({ page }) => { | ||
await login(page); | ||
await expect(page.getByText('Nodes')).toBeVisible(); | ||
await expect(page.getByText('Select one or more roles to assign to the new node')).toBeVisible(); | ||
await expect(page.getByText('Roles:')).toBeVisible(); | ||
await expect(page.locator('#controller-testNodeType')).toBeChecked(); | ||
const joinCommand = await page.locator('.react-prism.language-bash').first().textContent(); | ||
console.log(`{"command":"${joinCommand}"}`); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters