mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
Change fanout tab name.
This commit is contained in:
@@ -13,7 +13,7 @@ export const SETTINGS_SECTION_LABELS: Record<SettingsSection, string> = {
|
||||
radio: '📻 Radio',
|
||||
local: '🖥️ Local Configuration',
|
||||
database: '🗄️ Database & Messaging',
|
||||
fanout: '📤 MQTT & Forwarding',
|
||||
fanout: '📤 MQTT & Automation',
|
||||
statistics: '📊 Statistics',
|
||||
about: 'About',
|
||||
};
|
||||
|
||||
@@ -23,9 +23,9 @@ test.describe('Apprise integration settings', () => {
|
||||
await page.goto('/');
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
// Open settings and navigate to MQTT & Forwarding
|
||||
// Open settings and navigate to MQTT & Automation
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Click the Apprise add button
|
||||
await page.getByRole('button', { name: 'Apprise' }).click();
|
||||
@@ -82,7 +82,7 @@ test.describe('Apprise integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Click Edit on our apprise config
|
||||
const row = page.getByText('API Apprise').locator('..');
|
||||
@@ -122,7 +122,7 @@ test.describe('Apprise integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
const row = page.getByText('Scope Apprise').locator('..');
|
||||
await row.getByRole('button', { name: 'Edit' }).click();
|
||||
@@ -156,7 +156,7 @@ test.describe('Apprise integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Should show "Disabled" status text
|
||||
const row = page.getByText('Disabled Apprise').locator('..');
|
||||
@@ -187,7 +187,7 @@ test.describe('Apprise integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
const row = page.getByText('Delete Me Apprise').locator('..');
|
||||
await row.getByRole('button', { name: 'Edit' }).click();
|
||||
|
||||
@@ -45,7 +45,7 @@ test.describe('Bot functionality', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// The bot name should be visible in the integration list
|
||||
await expect(page.getByText('E2E Test Bot')).toBeVisible();
|
||||
|
||||
@@ -23,9 +23,9 @@ test.describe('Webhook integration settings', () => {
|
||||
await page.goto('/');
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
// Open settings and navigate to MQTT & Forwarding
|
||||
// Open settings and navigate to MQTT & Automation
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Click the Webhook add button
|
||||
await page.getByRole('button', { name: 'Webhook' }).click();
|
||||
@@ -74,7 +74,7 @@ test.describe('Webhook integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Click Edit on our webhook
|
||||
const row = page.getByText('API Webhook').locator('..');
|
||||
@@ -109,7 +109,7 @@ test.describe('Webhook integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Click Edit
|
||||
const row = page.getByText('Scope Webhook').locator('..');
|
||||
@@ -144,7 +144,7 @@ test.describe('Webhook integration settings', () => {
|
||||
await expect(page.getByText('Connected')).toBeVisible();
|
||||
|
||||
await page.getByText('Settings').click();
|
||||
await page.getByRole('button', { name: /MQTT.*Forwarding/ }).click();
|
||||
await page.getByRole('button', { name: /MQTT.*Automation/ }).click();
|
||||
|
||||
// Click Edit
|
||||
const row = page.getByText('Delete Me Webhook').locator('..');
|
||||
|
||||
Reference in New Issue
Block a user