RecreationBench / web /streamora.example /tests /static /hygiene.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 75)
0e0e768 verified
Raw History Blame Contribute Delete
204 kB
import { test, expect } from '@playwright/test';
test.describe('Quality - homepage', () => {
test('homepage: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('homepage: images load correctly', async ({ page }) => {
await page.goto('/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('homepage: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('homepage: images have alt attributes', async ({ page }) => {
await page.goto('/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - about_html', () => {
test('about_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/about.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('about_html: images load correctly', async ({ page }) => {
await page.goto('/about.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('about_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/about.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - community', () => {
test('community: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community: images load correctly', async ({ page }) => {
await page.goto('/community/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community: images have alt attributes', async ({ page }) => {
await page.goto('/community/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - download_html', () => {
test('download_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/download.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('download_html: images load correctly', async ({ page }) => {
await page.goto('/download.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('download_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/download.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('download_html: images have alt attributes', async ({ page }) => {
await page.goto('/download.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - index_html', () => {
test('index_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/index.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('index_html: images load correctly', async ({ page }) => {
await page.goto('/index.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('index_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/index.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('index_html: images have alt attributes', async ({ page }) => {
await page.goto('/index.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - premiere_html', () => {
test('premiere_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/premiere.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('premiere_html: images load correctly', async ({ page }) => {
await page.goto('/premiere.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('premiere_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/premiere.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('premiere_html: images have alt attributes', async ({ page }) => {
await page.goto('/premiere.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - privacy_html', () => {
test('privacy_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/privacy.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('privacy_html: images load correctly', async ({ page }) => {
await page.goto('/privacy.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('privacy_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/privacy.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('privacy_html: images have alt attributes', async ({ page }) => {
await page.goto('/privacy.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - support', () => {
test('support: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/support/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('support: images load correctly', async ({ page }) => {
await page.goto('/support/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('support: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/support/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('support: images have alt attributes', async ({ page }) => {
await page.goto('/support/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - terms_html', () => {
test('terms_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/terms.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('terms_html: images load correctly', async ({ page }) => {
await page.goto('/terms.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('terms_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/terms.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('terms_html: images have alt attributes', async ({ page }) => {
await page.goto('/terms.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - asustor_server_html', () => {
test('asustor_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/asustor-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('asustor_server_html: images load correctly', async ({ page }) => {
await page.goto('/asustor-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('asustor_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/asustor-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('asustor_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/asustor-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_blogs', () => {
test('community_blogs: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/blogs/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_blogs: images load correctly', async ({ page }) => {
await page.goto('/community/blogs/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_blogs: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/blogs/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_blogs: images have alt attributes', async ({ page }) => {
await page.goto('/community/blogs/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_discover', () => {
test('community_discover: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/discover/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_discover: images load correctly', async ({ page }) => {
await page.goto('/community/discover/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_discover: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/discover/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_discover: images have alt attributes', async ({ page }) => {
await page.goto('/community/discover/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_staff', () => {
test('community_staff: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/staff/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_staff: images load correctly', async ({ page }) => {
await page.goto('/community/staff/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_staff: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/staff/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_staff: images have alt attributes', async ({ page }) => {
await page.goto('/community/staff/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - connect_html', () => {
test('connect_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/connect.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('connect_html: images load correctly', async ({ page }) => {
await page.goto('/connect.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('connect_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/connect.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('connect_html: images have alt attributes', async ({ page }) => {
await page.goto('/connect.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - docker_server_html', () => {
test('docker_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/docker-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('docker_server_html: images load correctly', async ({ page }) => {
await page.goto('/docker-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('docker_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/docker-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('docker_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/docker-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_android_html', () => {
test('streamora_for_android_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-android.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_android_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-android.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_android_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-android.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_for_android_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-for-android.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_android_tv_html', () => {
test('streamora_for_android_tv_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-android-tv.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_android_tv_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-android-tv.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_android_tv_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-android-tv.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_for_appletv_html', () => {
test('streamora_for_appletv_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-appletv.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_appletv_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-appletv.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_appletv_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-appletv.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_for_appletv_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-for-appletv.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_chromecast_html', () => {
test('streamora_for_chromecast_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-chromecast.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_chromecast_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-chromecast.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_chromecast_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-chromecast.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_for_chromecast_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-for-chromecast.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_fire_tv_html', () => {
test('streamora_for_fire_tv_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-fire-tv.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_fire_tv_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-fire-tv.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_fire_tv_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-fire-tv.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_for_ios_html', () => {
test('streamora_for_ios_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-ios.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_ios_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-ios.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_ios_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-ios.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_for_ios_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-for-ios.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_kodi_html', () => {
test('streamora_for_kodi_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-kodi.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_kodi_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-kodi.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_kodi_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-kodi.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_for_kodi_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-for-kodi.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_lg_smart_tv_html', () => {
test('streamora_for_lg_smart_tv_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-lg-smart-tv.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_lg_smart_tv_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-lg-smart-tv.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_lg_smart_tv_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-lg-smart-tv.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_for_nvidiashield_html', () => {
test('streamora_for_nvidiashield_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-nvidiashield.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_nvidiashield_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-nvidiashield.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_nvidiashield_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-nvidiashield.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_for_roku_html', () => {
test('streamora_for_roku_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-roku.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_roku_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-roku.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_roku_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-roku.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_for_roku_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-for-roku.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_for_samsung_smart_tv_html', () => {
test('streamora_for_samsung_smart_tv_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-samsung-smart-tv.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_samsung_smart_tv_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-samsung-smart-tv.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_samsung_smart_tv_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-samsung-smart-tv.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_for_windows_html', () => {
test('streamora_for_windows_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-windows.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_windows_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-windows.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_windows_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-windows.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_for_xbox_html', () => {
test('streamora_for_xbox_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-for-xbox.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_for_xbox_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-for-xbox.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_for_xbox_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-for-xbox.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_ps3_html', () => {
test('streamora_ps3_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-ps3.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_ps3_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-ps3.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_ps3_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-ps3.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_ps3_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-ps3.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - streamora_ps4_html', () => {
test('streamora_ps4_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-ps4.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_ps4_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-ps4.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_ps4_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-ps4.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_theater_linux_html', () => {
test('streamora_theater_linux_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-theater-linux.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_theater_linux_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-theater-linux.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_theater_linux_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-theater-linux.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_theater_macos_html', () => {
test('streamora_theater_macos_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-theater-macos.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_theater_macos_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-theater-macos.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_theater_macos_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-theater-macos.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_theater_qnap_html', () => {
test('streamora_theater_qnap_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-theater-qnap.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_theater_qnap_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-theater-qnap.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_theater_qnap_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-theater-qnap.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_theater_rpi_html', () => {
test('streamora_theater_rpi_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-theater-rpi.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_theater_rpi_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-theater-rpi.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_theater_rpi_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-theater-rpi.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - streamora_web_client_html', () => {
test('streamora_web_client_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/streamora-web-client.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('streamora_web_client_html: images load correctly', async ({ page }) => {
await page.goto('/streamora-web-client.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('streamora_web_client_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/streamora-web-client.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('streamora_web_client_html: images have alt attributes', async ({ page }) => {
await page.goto('/streamora-web-client.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - flatpak_server_html', () => {
test('flatpak_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/flatpak-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('flatpak_server_html: images load correctly', async ({ page }) => {
await page.goto('/flatpak-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('flatpak_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/flatpak-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('flatpak_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/flatpak-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - freebsd_server_html', () => {
test('freebsd_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/freebsd-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('freebsd_server_html: images load correctly', async ({ page }) => {
await page.goto('/freebsd-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('freebsd_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/freebsd-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('freebsd_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/freebsd-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - freenas_server_html', () => {
test('freenas_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/freenas-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('freenas_server_html: images load correctly', async ({ page }) => {
await page.goto('/freenas-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('freenas_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/freenas-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('freenas_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/freenas-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - linux_server_html', () => {
test('linux_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/linux-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('linux_server_html: images load correctly', async ({ page }) => {
await page.goto('/linux-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('linux_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/linux-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('linux_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/linux-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - mac_server_html', () => {
test('mac_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/mac-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('mac_server_html: images load correctly', async ({ page }) => {
await page.goto('/mac-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('mac_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/mac-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - netgear_server_html', () => {
test('netgear_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/netgear-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('netgear_server_html: images load correctly', async ({ page }) => {
await page.goto('/netgear-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('netgear_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/netgear-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('netgear_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/netgear-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - open_media_vault_server_html', () => {
test('open_media_vault_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/open-media-vault-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('open_media_vault_server_html: images load correctly', async ({ page }) => {
await page.goto('/open-media-vault-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('open_media_vault_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/open-media-vault-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('open_media_vault_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/open-media-vault-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - premiere_ext_html', () => {
test('premiere_ext_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/premiere-ext.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('premiere_ext_html: images load correctly', async ({ page }) => {
await page.goto('/premiere-ext.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('premiere_ext_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/premiere-ext.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('premiere_ext_html: images have alt attributes', async ({ page }) => {
await page.goto('/premiere-ext.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - premiereterms_html', () => {
test('premiereterms_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/premiereterms.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('premiereterms_html: images load correctly', async ({ page }) => {
await page.goto('/premiereterms.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('premiereterms_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/premiereterms.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('premiereterms_html: images have alt attributes', async ({ page }) => {
await page.goto('/premiereterms.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - qnap_server_html', () => {
test('qnap_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/qnap-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('qnap_server_html: images load correctly', async ({ page }) => {
await page.goto('/qnap-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('qnap_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/qnap-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('qnap_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/qnap-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - server_android_html', () => {
test('server_android_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/server-android.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('server_android_html: images load correctly', async ({ page }) => {
await page.goto('/server-android.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('server_android_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/server-android.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('server_android_html: images have alt attributes', async ({ page }) => {
await page.goto('/server-android.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - support_articles_Premiere_Feature_Matrix_html', () => {
test('support_articles_Premiere_Feature_Matrix_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/support/articles/Premiere-Feature-Matrix.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('support_articles_Premiere_Feature_Matrix_html: images load correctly', async ({ page }) => {
await page.goto('/support/articles/Premiere-Feature-Matrix.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('support_articles_Premiere_Feature_Matrix_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/support/articles/Premiere-Feature-Matrix.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('support_articles_Premiere_Feature_Matrix_html: images have alt attributes', async ({ page }) => {
await page.goto('/support/articles/Premiere-Feature-Matrix.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - support_index_html', () => {
test('support_index_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/support/index.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('support_index_html: images load correctly', async ({ page }) => {
await page.goto('/support/index.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('support_index_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/support/index.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('support_index_html: images have alt attributes', async ({ page }) => {
await page.goto('/support/index.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - synology6_server_html', () => {
test('synology6_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/synology6-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('synology6_server_html: images load correctly', async ({ page }) => {
await page.goto('/synology6-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('synology6_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/synology6-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('synology6_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/synology6-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - synology7_server_html', () => {
test('synology7_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/synology7-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('synology7_server_html: images load correctly', async ({ page }) => {
await page.goto('/synology7-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('synology7_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/synology7-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('synology7_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/synology7-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - synology_server_html', () => {
test('synology_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/synology-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('synology_server_html: images load correctly', async ({ page }) => {
await page.goto('/synology-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('synology_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/synology-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('synology_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/synology-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - terramaster_server_html', () => {
test('terramaster_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/terramaster-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('terramaster_server_html: images load correctly', async ({ page }) => {
await page.goto('/terramaster-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('terramaster_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/terramaster-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('terramaster_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/terramaster-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - thecus_server_html', () => {
test('thecus_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/thecus-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('thecus_server_html: images load correctly', async ({ page }) => {
await page.goto('/thecus-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('thecus_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/thecus-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - truenas_scale_server_html', () => {
test('truenas_scale_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/truenas-scale-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('truenas_scale_server_html: images load correctly', async ({ page }) => {
await page.goto('/truenas-scale-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('truenas_scale_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/truenas-scale-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
});
test.describe('Quality - truenas_server_html', () => {
test('truenas_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/truenas-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('truenas_server_html: images load correctly', async ({ page }) => {
await page.goto('/truenas-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('truenas_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/truenas-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('truenas_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/truenas-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - western_digital_server_html', () => {
test('western_digital_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/western-digital-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('western_digital_server_html: images load correctly', async ({ page }) => {
await page.goto('/western-digital-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('western_digital_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/western-digital-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('western_digital_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/western-digital-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - western_digital_server_os3_html', () => {
test('western_digital_server_os3_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/western-digital-server-os3.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('western_digital_server_os3_html: images load correctly', async ({ page }) => {
await page.goto('/western-digital-server-os3.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('western_digital_server_os3_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/western-digital-server-os3.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('western_digital_server_os3_html: images have alt attributes', async ({ page }) => {
await page.goto('/western-digital-server-os3.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - windows_server_html', () => {
test('windows_server_html: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/windows-server.html');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('windows_server_html: images load correctly', async ({ page }) => {
await page.goto('/windows-server.html');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('windows_server_html: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/windows-server.html');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('windows_server_html: images have alt attributes', async ({ page }) => {
await page.goto('/windows-server.html');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_100_dlna', () => {
test('community_forum_100_dlna: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/100-dlna/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_100_dlna: images load correctly', async ({ page }) => {
await page.goto('/community/forum/100-dlna/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_100_dlna: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/100-dlna/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_100_dlna: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/100-dlna/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_115_streamora_server', () => {
test('community_forum_115_streamora_server: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/115-streamora-server/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_115_streamora_server: images load correctly', async ({ page }) => {
await page.goto('/community/forum/115-streamora-server/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_115_streamora_server: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/115-streamora-server/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_115_streamora_server: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/115-streamora-server/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_116_linux', () => {
test('community_forum_116_linux: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/116-linux/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_116_linux: images load correctly', async ({ page }) => {
await page.goto('/community/forum/116-linux/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_116_linux: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/116-linux/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_116_linux: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/116-linux/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_117_macos', () => {
test('community_forum_117_macos: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/117-macos/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_117_macos: images load correctly', async ({ page }) => {
await page.goto('/community/forum/117-macos/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_117_macos: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/117-macos/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_117_macos: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/117-macos/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_119_samsung_smart_tv', () => {
test('community_forum_119_samsung_smart_tv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/119-samsung-smart-tv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_119_samsung_smart_tv: images load correctly', async ({ page }) => {
await page.goto('/community/forum/119-samsung-smart-tv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_119_samsung_smart_tv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/119-samsung-smart-tv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_119_samsung_smart_tv: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/119-samsung-smart-tv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_122_freebsd', () => {
test('community_forum_122_freebsd: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/122-freebsd/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_122_freebsd: images load correctly', async ({ page }) => {
await page.goto('/community/forum/122-freebsd/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_122_freebsd: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/122-freebsd/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_122_freebsd: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/122-freebsd/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_127_mediaportal', () => {
test('community_forum_127_mediaportal: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/127-mediaportal/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_127_mediaportal: images load correctly', async ({ page }) => {
await page.goto('/community/forum/127-mediaportal/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_127_mediaportal: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/127-mediaportal/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_127_mediaportal: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/127-mediaportal/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_128_nextpvr', () => {
test('community_forum_128_nextpvr: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/128-nextpvr/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_128_nextpvr: images load correctly', async ({ page }) => {
await page.goto('/community/forum/128-nextpvr/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_128_nextpvr: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/128-nextpvr/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_128_nextpvr: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/128-nextpvr/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_129_serverwmc', () => {
test('community_forum_129_serverwmc: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/129-serverwmc/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_129_serverwmc: images load correctly', async ({ page }) => {
await page.goto('/community/forum/129-serverwmc/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_129_serverwmc: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/129-serverwmc/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_129_serverwmc: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/129-serverwmc/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_146_web_app', () => {
test('community_forum_146_web_app: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/146-web-app/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_146_web_app: images load correctly', async ({ page }) => {
await page.goto('/community/forum/146-web-app/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_146_web_app: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/146-web-app/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_146_web_app: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/146-web-app/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_147_android_tv_fire_tv', () => {
test('community_forum_147_android_tv_fire_tv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/147-android-tv-fire-tv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_147_android_tv_fire_tv: images load correctly', async ({ page }) => {
await page.goto('/community/forum/147-android-tv-fire-tv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_147_android_tv_fire_tv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/147-android-tv-fire-tv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_147_android_tv_fire_tv: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/147-android-tv-fire-tv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_14_general', () => {
test('community_forum_14_general: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/14-general/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_14_general: images load correctly', async ({ page }) => {
await page.goto('/community/forum/14-general/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_14_general: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/14-general/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_14_general: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/14-general/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_153_synology', () => {
test('community_forum_153_synology: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/153-synology/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_153_synology: images load correctly', async ({ page }) => {
await page.goto('/community/forum/153-synology/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_153_synology: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/153-synology/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_153_synology: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/153-synology/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_154_qnap', () => {
test('community_forum_154_qnap: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/154-qnap/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_154_qnap: images load correctly', async ({ page }) => {
await page.goto('/community/forum/154-qnap/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_154_qnap: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/154-qnap/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_154_qnap: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/154-qnap/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_156_schedules_direct', () => {
test('community_forum_156_schedules_direct: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/156-schedules-direct/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_156_schedules_direct: images load correctly', async ({ page }) => {
await page.goto('/community/forum/156-schedules-direct/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_156_schedules_direct: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/156-schedules-direct/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_156_schedules_direct: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/156-schedules-direct/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_162_apple_tv', () => {
test('community_forum_162_apple_tv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/162-apple-tv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_162_apple_tv: images load correctly', async ({ page }) => {
await page.goto('/community/forum/162-apple-tv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_162_apple_tv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/162-apple-tv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_162_apple_tv: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/162-apple-tv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_163_asustor', () => {
test('community_forum_163_asustor: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/163-asustor/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_163_asustor: images load correctly', async ({ page }) => {
await page.goto('/community/forum/163-asustor/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_163_asustor: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/163-asustor/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_163_asustor: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/163-asustor/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_164_lg_smart_tv', () => {
test('community_forum_164_lg_smart_tv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/164-lg-smart-tv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_164_lg_smart_tv: images load correctly', async ({ page }) => {
await page.goto('/community/forum/164-lg-smart-tv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_164_lg_smart_tv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/164-lg-smart-tv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_164_lg_smart_tv: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/164-lg-smart-tv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_166_sony_playstation', () => {
test('community_forum_166_sony_playstation: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/166-sony-playstation/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_166_sony_playstation: images load correctly', async ({ page }) => {
await page.goto('/community/forum/166-sony-playstation/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_166_sony_playstation: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/166-sony-playstation/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_166_sony_playstation: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/166-sony-playstation/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_167_thecus', () => {
test('community_forum_167_thecus: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/167-thecus/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_167_thecus: images load correctly', async ({ page }) => {
await page.goto('/community/forum/167-thecus/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_167_thecus: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/167-thecus/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_167_thecus: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/167-thecus/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_169_linux_raspberry_pi', () => {
test('community_forum_169_linux_raspberry_pi: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/169-linux-raspberry-pi/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_169_linux_raspberry_pi: images load correctly', async ({ page }) => {
await page.goto('/community/forum/169-linux-raspberry-pi/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_169_linux_raspberry_pi: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/169-linux-raspberry-pi/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_169_linux_raspberry_pi: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/169-linux-raspberry-pi/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_174_amazon_alexa', () => {
test('community_forum_174_amazon_alexa: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/174-amazon-alexa/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_174_amazon_alexa: images load correctly', async ({ page }) => {
await page.goto('/community/forum/174-amazon-alexa/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_174_amazon_alexa: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/174-amazon-alexa/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_174_amazon_alexa: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/174-amazon-alexa/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_175_netgear_readynas', () => {
test('community_forum_175_netgear_readynas: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/175-netgear-readynas/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_175_netgear_readynas: images load correctly', async ({ page }) => {
await page.goto('/community/forum/175-netgear-readynas/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_175_netgear_readynas: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/175-netgear-readynas/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_175_netgear_readynas: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/175-netgear-readynas/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_176_terramaster_nas', () => {
test('community_forum_176_terramaster_nas: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/176-terramaster-nas/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_176_terramaster_nas: images load correctly', async ({ page }) => {
await page.goto('/community/forum/176-terramaster-nas/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_176_terramaster_nas: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/176-terramaster-nas/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_176_terramaster_nas: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/176-terramaster-nas/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_179_android_server', () => {
test('community_forum_179_android_server: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/179-android-server/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_179_android_server: images load correctly', async ({ page }) => {
await page.goto('/community/forum/179-android-server/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_179_android_server: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/179-android-server/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_179_android_server: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/179-android-server/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_17_announcements', () => {
test('community_forum_17_announcements: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/17-announcements/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_17_announcements: images load correctly', async ({ page }) => {
await page.goto('/community/forum/17-announcements/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_17_announcements: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/17-announcements/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_17_announcements: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/17-announcements/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_180_western_digital', () => {
test('community_forum_180_western_digital: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/180-western-digital/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_180_western_digital: images load correctly', async ({ page }) => {
await page.goto('/community/forum/180-western-digital/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_180_western_digital: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/180-western-digital/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_180_western_digital: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/180-western-digital/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_182_streamora_provided_guide_data', () => {
test('community_forum_182_streamora_provided_guide_data: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/182-streamora-provided-guide-data/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_182_streamora_provided_guide_data: images load correctly', async ({ page }) => {
await page.goto('/community/forum/182-streamora-provided-guide-data/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_182_streamora_provided_guide_data: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/182-streamora-provided-guide-data/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_182_streamora_provided_guide_data: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/182-streamora-provided-guide-data/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_184_streamora_premiere_purchasesubscription_support', () => {
test('community_forum_184_streamora_premiere_purchasesubscription_support: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/184-streamora-premiere-purchasesubscription-support/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_184_streamora_premiere_purchasesubscription_support: images load correctly', async ({ page }) => {
await page.goto('/community/forum/184-streamora-premiere-purchasesubscription-support/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_184_streamora_premiere_purchasesubscription_support: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/184-streamora-premiere-purchasesubscription-support/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_184_streamora_premiere_purchasesubscription_support: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/184-streamora-premiere-purchasesubscription-support/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_185_streamora_for_kodi_next_gen', () => {
test('community_forum_185_streamora_for_kodi_next_gen: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/185-streamora-for-kodi-next-gen/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_185_streamora_for_kodi_next_gen: images load correctly', async ({ page }) => {
await page.goto('/community/forum/185-streamora-for-kodi-next-gen/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_185_streamora_for_kodi_next_gen: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/185-streamora-for-kodi-next-gen/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_185_streamora_for_kodi_next_gen: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/185-streamora-for-kodi-next-gen/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_186_streamoracon', () => {
test('community_forum_186_streamoracon: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/186-streamoracon/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_186_streamoracon: images load correctly', async ({ page }) => {
await page.goto('/community/forum/186-streamoracon/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_186_streamoracon: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/186-streamoracon/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_186_streamoracon: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/186-streamoracon/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_189_other_smart_tvs', () => {
test('community_forum_189_other_smart_tvs: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/189-other-smart-tvs/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_189_other_smart_tvs: images load correctly', async ({ page }) => {
await page.goto('/community/forum/189-other-smart-tvs/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_189_other_smart_tvs: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/189-other-smart-tvs/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_189_other_smart_tvs: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/189-other-smart-tvs/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_18_streamora_apps', () => {
test('community_forum_18_streamora_apps: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/18-streamora-apps/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_18_streamora_apps: images load correctly', async ({ page }) => {
await page.goto('/community/forum/18-streamora-apps/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_18_streamora_apps: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/18-streamora-apps/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_18_streamora_apps: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/18-streamora-apps/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_24_tutorials_and_guides', () => {
test('community_forum_24_tutorials_and_guides: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/24-tutorials-and-guides/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_24_tutorials_and_guides: images load correctly', async ({ page }) => {
await page.goto('/community/forum/24-tutorials-and-guides/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_24_tutorials_and_guides: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/24-tutorials-and-guides/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_24_tutorials_and_guides: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/24-tutorials-and-guides/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_53_generalwindows', () => {
test('community_forum_53_generalwindows: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/53-generalwindows/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_53_generalwindows: images load correctly', async ({ page }) => {
await page.goto('/community/forum/53-generalwindows/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_53_generalwindows: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/53-generalwindows/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_53_generalwindows: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/53-generalwindows/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_54_windows_xbox', () => {
test('community_forum_54_windows_xbox: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/54-windows-xbox/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_54_windows_xbox: images load correctly', async ({ page }) => {
await page.goto('/community/forum/54-windows-xbox/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_54_windows_xbox: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/54-windows-xbox/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_54_windows_xbox: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/54-windows-xbox/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_91_roku', () => {
test('community_forum_91_roku: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/91-roku/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_91_roku: images load correctly', async ({ page }) => {
await page.goto('/community/forum/91-roku/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_91_roku: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/91-roku/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_91_roku: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/91-roku/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_93_android', () => {
test('community_forum_93_android: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/93-android/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_93_android: images load correctly', async ({ page }) => {
await page.goto('/community/forum/93-android/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_93_android: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/93-android/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_93_android: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/93-android/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_94_apple_ios_macos', () => {
test('community_forum_94_apple_ios_macos: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/94-apple-ios-macos/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_94_apple_ios_macos: images load correctly', async ({ page }) => {
await page.goto('/community/forum/94-apple-ios-macos/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_94_apple_ios_macos: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/94-apple-ios-macos/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_94_apple_ios_macos: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/94-apple-ios-macos/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_97_live_tv', () => {
test('community_forum_97_live_tv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/97-live-tv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_97_live_tv: images load correctly', async ({ page }) => {
await page.goto('/community/forum/97-live-tv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_97_live_tv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/97-live-tv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_97_live_tv: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/97-live-tv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_98_feature_requests', () => {
test('community_forum_98_feature_requests: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/98-feature-requests/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_98_feature_requests: images load correctly', async ({ page }) => {
await page.goto('/community/forum/98-feature-requests/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_98_feature_requests: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/98-feature-requests/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_98_feature_requests: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/98-feature-requests/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_forum_99_kodi', () => {
test('community_forum_99_kodi: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/forum/99-kodi/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_forum_99_kodi: images load correctly', async ({ page }) => {
await page.goto('/community/forum/99-kodi/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_forum_99_kodi: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/forum/99-kodi/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_forum_99_kodi: images have alt attributes', async ({ page }) => {
await page.goto('/community/forum/99-kodi/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_103622_tv_screensaver_starts_when_playing_photos_diaporama', () => {
test('community_topic_103622_tv_screensaver_starts_when_playing_photos_diaporama: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/103622-tv-screensaver-starts-when-playing-photos-diaporama/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_103622_tv_screensaver_starts_when_playing_photos_diaporama: images load correctly', async ({ page }) => {
await page.goto('/community/topic/103622-tv-screensaver-starts-when-playing-photos-diaporama/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_103622_tv_screensaver_starts_when_playing_photos_diaporama: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/103622-tv-screensaver-starts-when-playing-photos-diaporama/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_103622_tv_screensaver_starts_when_playing_photos_diaporama: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/103622-tv-screensaver-starts-when-playing-photos-diaporama/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_110804_playstaion_5', () => {
test('community_topic_110804_playstaion_5: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/110804-playstaion-5/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_110804_playstaion_5: images load correctly', async ({ page }) => {
await page.goto('/community/topic/110804-playstaion-5/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_110804_playstaion_5: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/110804-playstaion-5/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_110804_playstaion_5: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/110804-playstaion-5/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_113284_guide_ssl_qnap_certificate_and_streamora_manual_and_automatic', () => {
test('community_topic_113284_guide_ssl_qnap_certificate_and_streamora_manual_and_automatic: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/113284-guide-ssl-qnap-certificate-and-streamora-manual-and-automatic/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_113284_guide_ssl_qnap_certificate_and_streamora_manual_and_automatic: images load correctly', async ({ page }) => {
await page.goto('/community/topic/113284-guide-ssl-qnap-certificate-and-streamora-manual-and-automatic/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_113284_guide_ssl_qnap_certificate_and_streamora_manual_and_automatic: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/113284-guide-ssl-qnap-certificate-and-streamora-manual-and-automatic/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_113284_guide_ssl_qnap_certificate_and_streamora_manual_and_automatic: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/113284-guide-ssl-qnap-certificate-and-streamora-manual-and-automatic/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_121722_shieldtv_and_did_you_know_tips_just_wont_go_away', () => {
test('community_topic_121722_shieldtv_and_did_you_know_tips_just_wont_go_away: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/121722-shieldtv-and-did-you-know-tips-just-wont-go-away/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_121722_shieldtv_and_did_you_know_tips_just_wont_go_away: images load correctly', async ({ page }) => {
await page.goto('/community/topic/121722-shieldtv-and-did-you-know-tips-just-wont-go-away/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_121722_shieldtv_and_did_you_know_tips_just_wont_go_away: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/121722-shieldtv-and-did-you-know-tips-just-wont-go-away/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_121722_shieldtv_and_did_you_know_tips_just_wont_go_away: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/121722-shieldtv-and-did-you-know-tips-just-wont-go-away/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_127031_createrestore_collections_library_on_new_install', () => {
test('community_topic_127031_createrestore_collections_library_on_new_install: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/127031-createrestore-collections-library-on-new-install/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_127031_createrestore_collections_library_on_new_install: images load correctly', async ({ page }) => {
await page.goto('/community/topic/127031-createrestore-collections-library-on-new-install/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_127031_createrestore_collections_library_on_new_install: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/127031-createrestore-collections-library-on-new-install/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_127031_createrestore_collections_library_on_new_install: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/127031-createrestore-collections-library-on-new-install/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_131507_streamoraforkodi_next_gen_11xx_support', () => {
test('community_topic_131507_streamoraforkodi_next_gen_11xx_support: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/131507-streamoraforkodi-next-gen-11xx-support/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_131507_streamoraforkodi_next_gen_11xx_support: images load correctly', async ({ page }) => {
await page.goto('/community/topic/131507-streamoraforkodi-next-gen-11xx-support/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_131507_streamoraforkodi_next_gen_11xx_support: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/131507-streamoraforkodi-next-gen-11xx-support/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_131507_streamoraforkodi_next_gen_11xx_support: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/131507-streamoraforkodi-next-gen-11xx-support/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_134143_parental_controls_media_disappears_when_meta_data_changes', () => {
test('community_topic_134143_parental_controls_media_disappears_when_meta_data_changes: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/134143-parental-controls-media-disappears-when-meta-data-changes/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_134143_parental_controls_media_disappears_when_meta_data_changes: images load correctly', async ({ page }) => {
await page.goto('/community/topic/134143-parental-controls-media-disappears-when-meta-data-changes/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_134143_parental_controls_media_disappears_when_meta_data_changes: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/134143-parental-controls-media-disappears-when-meta-data-changes/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_134143_parental_controls_media_disappears_when_meta_data_changes: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/134143-parental-controls-media-disappears-when-meta-data-changes/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_134353_hardware_transcode_fails_tos_6', () => {
test('community_topic_134353_hardware_transcode_fails_tos_6: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/134353-hardware-transcode-fails-tos-6/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_134353_hardware_transcode_fails_tos_6: images load correctly', async ({ page }) => {
await page.goto('/community/topic/134353-hardware-transcode-fails-tos-6/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_134353_hardware_transcode_fails_tos_6: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/134353-hardware-transcode-fails-tos-6/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_134353_hardware_transcode_fails_tos_6: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/134353-hardware-transcode-fails-tos-6/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_142000_macos_streamora_app_crashing', () => {
test('community_topic_142000_macos_streamora_app_crashing: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/142000-macos-emby-app-crashing/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_142000_macos_streamora_app_crashing: images load correctly', async ({ page }) => {
await page.goto('/community/topic/142000-macos-emby-app-crashing/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_142000_macos_streamora_app_crashing: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/142000-macos-emby-app-crashing/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_142000_macos_streamora_app_crashing: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/142000-macos-emby-app-crashing/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_143686_streamora_server_on_nvidia_shield_keeps_crashing', () => {
test('community_topic_143686_streamora_server_on_nvidia_shield_keeps_crashing: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/143686-streamora-server-on-nvidia-shield-keeps-crashing/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_143686_streamora_server_on_nvidia_shield_keeps_crashing: images load correctly', async ({ page }) => {
await page.goto('/community/topic/143686-streamora-server-on-nvidia-shield-keeps-crashing/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_143686_streamora_server_on_nvidia_shield_keeps_crashing: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/143686-streamora-server-on-nvidia-shield-keeps-crashing/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_143686_streamora_server_on_nvidia_shield_keeps_crashing: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/143686-streamora-server-on-nvidia-shield-keeps-crashing/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_144385_verizon_fios_killing_my_cablecard_options_ideas', () => {
test('community_topic_144385_verizon_fios_killing_my_cablecard_options_ideas: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/144385-verizon-fios-killing-my-cablecard-options-ideas/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_144385_verizon_fios_killing_my_cablecard_options_ideas: images load correctly', async ({ page }) => {
await page.goto('/community/topic/144385-verizon-fios-killing-my-cablecard-options-ideas/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_144385_verizon_fios_killing_my_cablecard_options_ideas: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/144385-verizon-fios-killing-my-cablecard-options-ideas/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_144385_verizon_fios_killing_my_cablecard_options_ideas: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/144385-verizon-fios-killing-my-cablecard-options-ideas/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_144521_premiere_purchase_support', () => {
test('community_topic_144521_premiere_purchase_support: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/144521-premiere-purchase-support/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_144521_premiere_purchase_support: images load correctly', async ({ page }) => {
await page.goto('/community/topic/144521-premiere-purchase-support/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_144521_premiere_purchase_support: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/144521-premiere-purchase-support/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_144521_premiere_purchase_support: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/144521-premiere-purchase-support/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_144720_problems_with_version_49190', () => {
test('community_topic_144720_problems_with_version_49190: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/144720-problems-with-version-49190/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_144720_problems_with_version_49190: images load correctly', async ({ page }) => {
await page.goto('/community/topic/144720-problems-with-version-49190/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_144720_problems_with_version_49190: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/144720-problems-with-version-49190/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_144720_problems_with_version_49190: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/144720-problems-with-version-49190/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_145276_where_to_get_mono_and_ffmpeg', () => {
test('community_topic_145276_where_to_get_mono_and_ffmpeg: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/145276-where-to-get-mono-and-ffmpeg/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_145276_where_to_get_mono_and_ffmpeg: images load correctly', async ({ page }) => {
await page.goto('/community/topic/145276-where-to-get-mono-and-ffmpeg/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_145276_where_to_get_mono_and_ffmpeg: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/145276-where-to-get-mono-and-ffmpeg/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_145276_where_to_get_mono_and_ffmpeg: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/145276-where-to-get-mono-and-ffmpeg/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_145776_streamora_for_lg_1050_released', () => {
test('community_topic_145776_streamora_for_lg_1050_released: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/145776-streamora-for-lg-1050-released/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_145776_streamora_for_lg_1050_released: images load correctly', async ({ page }) => {
await page.goto('/community/topic/145776-streamora-for-lg-1050-released/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_145776_streamora_for_lg_1050_released: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/145776-streamora-for-lg-1050-released/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_145776_streamora_for_lg_1050_released: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/145776-streamora-for-lg-1050-released/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_146282_enable_subtitles_in_streamora_server', () => {
test('community_topic_146282_enable_subtitles_in_streamora_server: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/146282-enable-subtitles-in-streamora-server/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_146282_enable_subtitles_in_streamora_server: images load correctly', async ({ page }) => {
await page.goto('/community/topic/146282-enable-subtitles-in-streamora-server/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_146282_enable_subtitles_in_streamora_server: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/146282-enable-subtitles-in-streamora-server/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_146282_enable_subtitles_in_streamora_server: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/146282-enable-subtitles-in-streamora-server/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_146810_streaming_controlled_by_android_profile', () => {
test('community_topic_146810_streaming_controlled_by_android_profile: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/146810-streaming-controlled-by-android-profile/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_146810_streaming_controlled_by_android_profile: images load correctly', async ({ page }) => {
await page.goto('/community/topic/146810-streaming-controlled-by-android-profile/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_146810_streaming_controlled_by_android_profile: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/146810-streaming-controlled-by-android-profile/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_146810_streaming_controlled_by_android_profile: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/146810-streaming-controlled-by-android-profile/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147205_help_official_streamora_theater_rpi4_image_on_armbian_choppy_h264_missing_v4l2m2m_invisible_playback_overlay', () => {
test('community_topic_147205_help_official_streamora_theater_rpi4_image_on_armbian_choppy_h264_missing_v4l2m2m_invisible_playback_overlay: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147205-help-official-emby-theater-rpi4-image-on-armbian-choppy-h264-missing-v4l2m2m-invisible-playback-overlay/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147205_help_official_streamora_theater_rpi4_image_on_armbian_choppy_h264_missing_v4l2m2m_invisible_playback_overlay: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147205-help-official-emby-theater-rpi4-image-on-armbian-choppy-h264-missing-v4l2m2m-invisible-playback-overlay/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147205_help_official_streamora_theater_rpi4_image_on_armbian_choppy_h264_missing_v4l2m2m_invisible_playback_overlay: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147205-help-official-emby-theater-rpi4-image-on-armbian-choppy-h264-missing-v4l2m2m-invisible-playback-overlay/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147205_help_official_streamora_theater_rpi4_image_on_armbian_choppy_h264_missing_v4l2m2m_invisible_playback_overlay: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147205-help-official-emby-theater-rpi4-image-on-armbian-choppy-h264-missing-v4l2m2m-invisible-playback-overlay/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147484_certain_users_unable_to_access_https', () => {
test('community_topic_147484_certain_users_unable_to_access_https: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147484-certain-users-unable-to-access-https/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147484_certain_users_unable_to_access_https: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147484-certain-users-unable-to-access-https/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147484_certain_users_unable_to_access_https: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147484-certain-users-unable-to-access-https/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147484_certain_users_unable_to_access_https: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147484-certain-users-unable-to-access-https/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147567_streamora_sometimes_plays_a_section_of_video_twice', () => {
test('community_topic_147567_streamora_sometimes_plays_a_section_of_video_twice: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147567-emby-sometimes-plays-a-section-of-video-twice/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147567_streamora_sometimes_plays_a_section_of_video_twice: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147567-emby-sometimes-plays-a-section-of-video-twice/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147567_streamora_sometimes_plays_a_section_of_video_twice: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147567-emby-sometimes-plays-a-section-of-video-twice/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147567_streamora_sometimes_plays_a_section_of_video_twice: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147567-emby-sometimes-plays-a-section-of-video-twice/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147620_streamora_keeps_pausing_on_atv', () => {
test('community_topic_147620_streamora_keeps_pausing_on_atv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147620-emby-keeps-pausing-on-atv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147620_streamora_keeps_pausing_on_atv: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147620-emby-keeps-pausing-on-atv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147620_streamora_keeps_pausing_on_atv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147620-emby-keeps-pausing-on-atv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147620_streamora_keeps_pausing_on_atv: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147620-emby-keeps-pausing-on-atv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147662_android_app_cannot_access_ipv6_domain_names', () => {
test('community_topic_147662_android_app_cannot_access_ipv6_domain_names: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147662-android-app-cannot-access-ipv6-domain-names/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147662_android_app_cannot_access_ipv6_domain_names: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147662-android-app-cannot-access-ipv6-domain-names/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147662_android_app_cannot_access_ipv6_domain_names: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147662-android-app-cannot-access-ipv6-domain-names/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147662_android_app_cannot_access_ipv6_domain_names: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147662-android-app-cannot-access-ipv6-domain-names/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147677_another_no_compatible_streams', () => {
test('community_topic_147677_another_no_compatible_streams: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147677-another-no-compatible-streams/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147677_another_no_compatible_streams: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147677-another-no-compatible-streams/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147677_another_no_compatible_streams: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147677-another-no-compatible-streams/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147677_another_no_compatible_streams: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147677-another-no-compatible-streams/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147725_streamora_app_for_tcl_tv', () => {
test('community_topic_147725_streamora_app_for_tcl_tv: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147725-emby-app-for-tcl-tv/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147725_streamora_app_for_tcl_tv: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147725-emby-app-for-tcl-tv/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147725_streamora_app_for_tcl_tv: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147725-emby-app-for-tcl-tv/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147725_streamora_app_for_tcl_tv: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147725-emby-app-for-tcl-tv/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147799_alexa_plus_integration', () => {
test('community_topic_147799_alexa_plus_integration: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147799-alexa-plus-integration/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147799_alexa_plus_integration: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147799-alexa-plus-integration/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147799_alexa_plus_integration: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147799-alexa-plus-integration/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147799_alexa_plus_integration: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147799-alexa-plus-integration/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147862_auto_start_streamora_windows', () => {
test('community_topic_147862_auto_start_streamora_windows: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147862-auto-start-emby-windows/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147862_auto_start_streamora_windows: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147862-auto-start-emby-windows/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147862_auto_start_streamora_windows: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147862-auto-start-emby-windows/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147862_auto_start_streamora_windows: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147862-auto-start-emby-windows/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147897_movies_unwatchable_because_cast_crew_overlapping', () => {
test('community_topic_147897_movies_unwatchable_because_cast_crew_overlapping: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147897-movies-unwatchable-because-cast-crew-overlapping/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147897_movies_unwatchable_because_cast_crew_overlapping: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147897-movies-unwatchable-because-cast-crew-overlapping/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147897_movies_unwatchable_because_cast_crew_overlapping: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147897-movies-unwatchable-because-cast-crew-overlapping/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147897_movies_unwatchable_because_cast_crew_overlapping: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147897-movies-unwatchable-because-cast-crew-overlapping/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147925_need_help_connecting', () => {
test('community_topic_147925_need_help_connecting: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147925-need-help-connecting/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147925_need_help_connecting: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147925-need-help-connecting/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147925_need_help_connecting: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147925-need-help-connecting/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147925_need_help_connecting: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147925-need-help-connecting/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147928_discussion_group_on_xmpp_signal_or_simplex', () => {
test('community_topic_147928_discussion_group_on_xmpp_signal_or_simplex: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147928-discussion-group-on-xmpp-signal-or-simplex/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147928_discussion_group_on_xmpp_signal_or_simplex: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147928-discussion-group-on-xmpp-signal-or-simplex/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147928_discussion_group_on_xmpp_signal_or_simplex: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147928-discussion-group-on-xmpp-signal-or-simplex/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147928_discussion_group_on_xmpp_signal_or_simplex: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147928-discussion-group-on-xmpp-signal-or-simplex/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_147942_server_error_since_last_updated', () => {
test('community_topic_147942_server_error_since_last_updated: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/147942-server-error-since-last-updated/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_147942_server_error_since_last_updated: images load correctly', async ({ page }) => {
await page.goto('/community/topic/147942-server-error-since-last-updated/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_147942_server_error_since_last_updated: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/147942-server-error-since-last-updated/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_147942_server_error_since_last_updated: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/147942-server-error-since-last-updated/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - community_topic_9754_docker', () => {
test('community_topic_9754_docker: no console errors', async ({ page }) => {
const errors: string[] = [];
page.on('console', msg => { if (msg.type() === 'error') errors.push(msg.text()); });
await page.goto('/community/topic/9754-docker/');
await page.waitForTimeout(1000);
expect(errors).toHaveLength(0);
});
test('community_topic_9754_docker: images load correctly', async ({ page }) => {
await page.goto('/community/topic/9754-docker/');
await page.waitForTimeout(1000);
const images = page.locator('img[src]');
const count = await images.count();
for (let i = 0; i < Math.min(count, 10); i++) {
const naturalWidth = await images.nth(i).evaluate(
(el: HTMLImageElement) => el.naturalWidth
);
expect(naturalWidth).toBeGreaterThan(0);
}
});
test('community_topic_9754_docker: has selectable text (anti-cheat)', async ({ page }) => {
await page.goto('/community/topic/9754-docker/');
const text = await page.evaluate(() => document.body.innerText);
expect(text.trim().length).toBeGreaterThan(50);
});
test('community_topic_9754_docker: images have alt attributes', async ({ page }) => {
await page.goto('/community/topic/9754-docker/');
const imagesWithoutAlt = await page.locator('img:not([alt])').count();
const totalImages = await page.locator('img').count();
if (totalImages > 0) {
expect(imagesWithoutAlt / totalImages).toBeLessThan(0.5);
}
});
});
test.describe('Quality - Global', () => {
test('html has lang attribute', async ({ page }) => {
await page.goto('/');
const lang = await page.evaluate(() => document.documentElement.lang);
expect(lang).toBeTruthy();
});
});