Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions ui-tests/tests/demo.app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ test("To-Do App Basic UI Checks", async ({ page }) => {
await page.getByRole("link", { name: "Radius Demo" })
.click();

await page.getByRole('button', { name: '📄 Environment variables' }).click();

// Make sure important environment variables are visible
await expect(page.getByText("CONNECTION_REDIS_CONNECTIONSTRING"))
.toBeVisible();
await expect(page.getByText("CONNECTION_REDIS_HOST"))
.toBeVisible();
await expect(page.getByText("CONNECTION_REDIS_PORT"))
.toBeVisible();
await expect(page.getByRole('cell', { name: 'CONNECTION_REDIS_CONNECTIONSTRING' }).getByText('CONNECTION_REDIS_CONNECTIONSTRING')).toBeVisible();
await expect(page.getByRole('cell', { name: 'CONNECTION_REDIS_HOST' }).getByText('CONNECTION_REDIS_HOST')).toBeVisible();
await expect(page.getByRole('cell', { name: 'CONNECTION_REDIS_PORT' }).getByText('CONNECTION_REDIS_PORT')).toBeVisible();
});

test("Add an item and check basic functionality", async ({ page }) => {
Expand Down