// FILE: _St/IG_StYellow/test_ext_auto_thumbnail_settings_v292.js | ROLE: 자동 섬네일 2단계 설정 회귀
const fs = require('fs');
const assert = require('assert');
const sideHtml = fs.readFileSync(__dirname + '/side.html', 'utf8');
const side = fs.readFileSync(__dirname + '/side.js', 'utf8');
const background = fs.readFileSync(__dirname + '/background.js', 'utf8');
assert.ok(sideHtml.includes('id="igblue_auto_thumbnail_enabled"'));
assert.ok(sideHtml.includes('id="igblue_auto_thumbnail_explore"'));
assert.ok(sideHtml.includes('id="igblue_auto_thumbnail_single_post"'));
assert.ok(sideHtml.includes('id="igblue_auto_thumbnail_profile"'));
assert.ok(sideHtml.includes('id="igblue_auto_thumbnail_profile_reels"'));
assert.ok(side.includes('auto_thumbnail_enabled: true'));
assert.ok(side.includes('auto_thumbnail_explore: false'));
assert.ok(side.includes('auto_thumbnail_single_post: true'));
assert.ok(side.includes('auto_thumbnail_profile: true'));
assert.ok(side.includes('auto_thumbnail_profile_reels: true'));
assert.ok(background.includes('"auto_thumbnail_enabled"'));
console.log('OK test_ext_auto_thumbnail_settings_v292');
