Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(tests): correct E2E test URLs for subscriptions API and embeddings page (#2338)

LearningCircuitcdbee8d32ed6
diff --git a/tests/puppeteer/test_deep_functionality.js b/tests/puppeteer/test_deep_functionality.js
index a82d1e9587..8efa1332ae 100644
--- a/tests/puppeteer/test_deep_functionality.js
+++ b/tests/puppeteer/test_deep_functionality.js
@@ -1512,7 +1512,7 @@ describe('Deep Functionality Tests', function() {
it('should get news subscriptions via API', async () => {
const response = await page.evaluate(async () => {
try {
- const res = await fetch('/news/api/subscriptions', { credentials: 'include' });
+ const res = await fetch('/news/api/subscriptions/current', { credentials: 'include' });
const data = await res.json();
return { status: res.status, data: data };
} catch (e) {
@@ -2637,7 +2637,7 @@ describe('Deep Functionality Tests', function() {
// Get existing subscriptions
const subs = await page.evaluate(async () => {
try {
- const res = await fetch('/news/api/subscriptions', { credentials: 'include' });
+ const res = await fetch('/news/api/subscriptions/current', { credentials: 'include' });
return await res.json();
} catch (e) {
return { error: e.message };
diff --git a/tests/puppeteer/test_ui_functionality.js b/tests/puppeteer/test_ui_functionality.js
index b983a39051..45571923c4 100644
--- a/tests/puppeteer/test_ui_functionality.js
+++ b/tests/puppeteer/test_ui_functionality.js
@@ -360,12 +360,12 @@ describe('UI Functionality Tests', function() {
describe('Embedding Settings Page', () => {
it('should load embedding settings page', async () => {
- await page.goto(`${BASE_URL}/settings/embeddings`, { waitUntil: 'domcontentloaded' });
+ await page.goto(`${BASE_URL}/library/embedding-settings`, { waitUntil: 'domcontentloaded' });
await logPageInfo(page, 'Embedding Settings Page');
await takeScreenshot(page, 'embedding-settings');
const url = page.url();
- expect(url).to.include('/embeddings');
+ expect(url).to.include('/embedding-settings');
console.log(' ✓ Embedding settings page loaded');
});
});
@@ -388,7 +388,7 @@ describe('UI Functionality Tests', function() {
{ path: '/settings', name: 'Settings', minContent: 100 },
{ path: '/news/', name: 'News', minContent: 100 },
{ path: '/library/', name: 'Library', minContent: 100 },
- { path: '/settings/embeddings', name: 'Embeddings', minContent: 10 } // May have minimal content
+ { path: '/library/embedding-settings', name: 'Embeddings', minContent: 10 } // May have minimal content
];
for (const route of routes) {