Anomaly Logo
import { test, expect } from '@playwright/test';

function execute_test(name, url, image) {
    test(name, async ({ page }) => {
        await page.goto(url);

        const scrollY = await page.evaluate(() => document.body.scrollHeight); // get the page height

        await page.mouse.wheel(0, scrollY/2); // scroll to the middle
        await page.waitForTimeout(2000);

        await page.mouse.wheel(scrollY/2, scrollY); // scroll to the bottom
        await page.waitForTimeout(2000);

        await expect(page).toHaveScreenshot({
            path: image,
            fullPage: true
        });
    });
}

execute_test(
    '2155 = Anomaly = Search Engine Optimisation (SEO) Fundamentals How to Improve Your Website’s Ranking in Australia',
    'https://anomaly.com.au/digital-marketing/search-engine-optimisation-seo-fundamentals-how-to-improve-your-websites-ranking-in-australia/',
    'anomaly-search-engine-optimisation-seo-fundamentals-how-to-improve-your-websites-ranking-in-australia.png'
);

execute_test(
    '1900 = Anomaly = Triple Punkt',
    'https://anomaly.com.au/project/triple-punkt/',
    'anomaly-triple-punkt.png'
);

execute_test(
    '1899 = Anomaly = Stellan Capital',
    'https://anomaly.com.au/project/stellan-capital/',
    'anomaly-stellan-capital.png'
);

execute_test(
    '1898 = Anomaly = MOD. Seven Siblings of the Future',
    'https://anomaly.com.au/project/mod/',
    'anomaly-mod.png'
);

execute_test(
    '1897 = Anomaly = Blackchrome Sportswear',
    'https://anomaly.com.au/project/blackchrome-sportswear/',
    'anomaly-blackchrome-sportswear.png'
);

execute_test(
    '1889 = Anomaly = TEST',
    'https://anomaly.com.au/test/',
    'anomaly-test.png'
);

execute_test(
    '1668 = Anomaly = Titan Asia-Pacific',
    'https://anomaly.com.au/project/titan-asia-pacific/',
    'anomaly-titan-asia-pacific.png'
);

execute_test(
    '1679 = Anomaly = VRents',
    'https://anomaly.com.au/project/vrents/',
    'anomaly-vrents.png'
);

execute_test(
    '1536 = Anomaly = Ezara Jewellery',
    'https://anomaly.com.au/project/ezara-jewellery/',
    'anomaly-ezara-jewellery.png'
);

execute_test(
    '1535 = Anomaly = Cancer Council',
    'https://anomaly.com.au/project/cancer-council/',
    'anomaly-cancer-council.png'
);

execute_test(
    '1525 = Anomaly = RSPCA SA',
    'https://anomaly.com.au/project/rspca-sa/',
    'anomaly-rspca-sa.png'
);

execute_test(
    '1509 = Anomaly = Agon Environmental',
    'https://anomaly.com.au/project/agon-environmental/',
    'anomaly-agon-environmental.png'
);

execute_test(
    '1496 = Anomaly = Adelaide Psychological Services',
    'https://anomaly.com.au/project/adelaide-psychological-services/',
    'anomaly-adelaide-psychological-services.png'
);

execute_test(
    '1102 = Anomaly = AW Vater',
    'https://anomaly.com.au/project/aw-vater/',
    'anomaly-aw-vater.png'
);

execute_test(
    '245 = Anomaly = Terms & Conditions',
    'https://anomaly.com.au/terms/',
    'anomaly-terms.png'
);

execute_test(
    '241 = Anomaly = Notebook',
    'https://anomaly.com.au/notebook/',
    'anomaly-notebook.png'
);

execute_test(
    '240 = Anomaly = Projects',
    'https://anomaly.com.au/projects/',
    'anomaly-projects.png'
);

execute_test(
    '239 = Anomaly = Services',
    'https://anomaly.com.au/services/',
    'anomaly-services.png'
);

execute_test(
    '1040 = Anomaly = Understanding the value of video production in modern business',
    'https://anomaly.com.au/video-production/understanding-the-value-of-video-production-in-modern-business/',
    'anomaly-understanding-the-value-of-video-production-in-modern-business.png'
);

execute_test(
    '1036 = Anomaly = Why Your Business Needs a Website in 2024',
    'https://anomaly.com.au/web-design/why-your-business-needs-a-website-in-2024/',
    'anomaly-why-your-business-needs-a-website-in-2024.png'
);

execute_test(
    '152 = Anomaly = Video Background',
    'https://anomaly.com.au/video-background/',
    'anomaly-video-background.png'
);

execute_test(
    '1028 = Anomaly = How to Pick Brand Colours',
    'https://anomaly.com.au/branding-design/how-to-pick-brand-colours/',
    'anomaly-how-to-pick-brand-colours.png'
);

execute_test(
    '1022 = Anomaly = How Much Does Google Ads Cost?',
    'https://anomaly.com.au/digital-marketing/how-much-does-google-ads-cost/',
    'anomaly-how-much-does-google-ads-cost.png'
);

execute_test(
    '1014 = Anomaly = Why Video is a Great Tool To Convey a Story',
    'https://anomaly.com.au/digital-marketing/why-video-is-a-great-tool-to-convey-a-story/',
    'anomaly-why-video-is-a-great-tool-to-convey-a-story.png'
);

execute_test(
    '1011 = Anomaly = Why you need Google Ads Management',
    'https://anomaly.com.au/digital-marketing/ppc-management/',
    'anomaly-ppc-management.png'
);

execute_test(
    '1006 = Anomaly = What’s Happening in the World of Social Media',
    'https://anomaly.com.au/digital-marketing/social-media-updates-august23/',
    'anomaly-social-media-updates-august23.png'
);

execute_test(
    '1003 = Anomaly = A Step-by-Step Guide to Applying for a Google Ads Grant Account for Australian Non-Profit Organisations',
    'https://anomaly.com.au/digital-marketing/grant-account/',
    'anomaly-grant-account.png'
);

execute_test(
    '998 = Anomaly = The Power Of Social Media',
    'https://anomaly.com.au/digital-marketing/the-power-of-social-media/',
    'anomaly-the-power-of-social-media.png'
);

execute_test(
    '995 = Anomaly = Should My Business Be On Threads?',
    'https://anomaly.com.au/digital-marketing/should-my-business-be-on-threads/',
    'anomaly-should-my-business-be-on-threads.png'
);

execute_test(
    '991 = Anomaly = The Post Production Process',
    'https://anomaly.com.au/video-production/the-post-production-process/',
    'anomaly-the-post-production-process.png'
);

execute_test(
    '986 = Anomaly = Cinema Advertising',
    'https://anomaly.com.au/video-production/cinema-ads/',
    'anomaly-cinema-ads.png'
);

execute_test(
    '979 = Anomaly = Corporate Video Production',
    'https://anomaly.com.au/video-production/corporate-video/',
    'anomaly-corporate-video.png'
);

execute_test(
    '971 = Anomaly = Small Business Video Production',
    'https://anomaly.com.au/video-production/small-business-videos/',
    'anomaly-small-business-videos.png'
);

execute_test(
    '932 = Anomaly = Video Marketing',
    'https://anomaly.com.au/digital-marketing/video-marketing/',
    'anomaly-video-marketing.png'
);

execute_test(
    '902 = Anomaly = Web Videos',
    'https://anomaly.com.au/video-production/online-video-production/',
    'anomaly-online-video-production.png'
);

execute_test(
    '898 = Anomaly = Google Analytics 4 Migration',
    'https://anomaly.com.au/digital-marketing/google-analytics-4-migration/',
    'anomaly-google-analytics-4-migration.png'
);

execute_test(
    '895 = Anomaly = How to adjust your marketing strategy during EOFY',
    'https://anomaly.com.au/digital-marketing/how-to-adjust-your-marketing-strategy-during-eofy/',
    'anomaly-how-to-adjust-your-marketing-strategy-during-eofy.png'
);

execute_test(
    '45 = Anomaly = Contact',
    'https://anomaly.com.au/contact/',
    'anomaly-contact.png'
);

execute_test(
    '44 = Anomaly = About Us',
    'https://anomaly.com.au/about/',
    'anomaly-about.png'
);

execute_test(
    '23 = Anomaly = Home',
    'https://anomaly.com.au/',
    'anomaly-home.png'
);

execute_test(
    '3 = Anomaly = Privacy Policy',
    'https://anomaly.com.au/privacy-policy/',
    'anomaly-privacy-policy.png'
);

execute_test(
    '891 = Anomaly = Web Design',
    'https://anomaly.com.au/web-design/web-design/',
    'anomaly-web-design.png'
);

execute_test(
    '882 = Anomaly = Social Media Advertising',
    'https://anomaly.com.au/digital-marketing/social-media/',
    'anomaly-social-media.png'
);

execute_test(
    '878 = Anomaly = Event Video Production',
    'https://anomaly.com.au/video-production/event-video-production-videography/',
    'anomaly-event-video-production-videography.png'
);

execute_test(
    '872 = Anomaly = What makes a good logo?',
    'https://anomaly.com.au/branding-design/what-makes-a-good-logo/',
    'anomaly-what-makes-a-good-logo.png'
);

execute_test(
    '859 = Anomaly = What makes a good website?',
    'https://anomaly.com.au/web-design/what-makes-a-good-website/',
    'anomaly-what-makes-a-good-website.png'
);

execute_test(
    '853 = Anomaly = Why is Branding Important?',
    'https://anomaly.com.au/branding-design/why-is-branding-important/',
    'anomaly-why-is-branding-important.png'
);

execute_test(
    '847 = Anomaly = How to attract new customers with the design of your website',
    'https://anomaly.com.au/web-design/how-to-attract-new-customers-with-the-design-of-your-website/',
    'anomaly-how-to-attract-new-customers-with-the-design-of-your-website.png'
);

execute_test(
    '842 = Anomaly = How often should I update my branding',
    'https://anomaly.com.au/branding-design/how-often-should-i-update-my-branding/',
    'anomaly-how-often-should-i-update-my-branding.png'
);

execute_test(
    '822 = Anomaly = Design Trends of 2021',
    'https://anomaly.com.au/branding-design/design-trends-of-2021/',
    'anomaly-design-trends-of-2021.png'
);

execute_test(
    '816 = Anomaly = How do I get more leads?',
    'https://anomaly.com.au/digital-marketing/how-do-i-get-more-leads/',
    'anomaly-how-do-i-get-more-leads.png'
);

execute_test(
    '813 = Anomaly = The 5 top reasons to incorporate SEO',
    'https://anomaly.com.au/digital-marketing/the-5-top-reasons-to-incorporate-seo/',
    'anomaly-the-5-top-reasons-to-incorporate-seo.png'
);

execute_test(
    '806 = Anomaly = Video Cost',
    'https://anomaly.com.au/video-production/how-much-does-a-video-cost/',
    'anomaly-how-much-does-a-video-cost.png'
);

execute_test(
    '790 = Anomaly = Is a corporate video right for my business?',
    'https://anomaly.com.au/video-production/is-a-corporate-video-right-for-my-business/',
    'anomaly-is-a-corporate-video-right-for-my-business.png'
);

execute_test(
    '794 = Anomaly = What is colour grading?',
    'https://anomaly.com.au/video-production/what-is-colour-grading/',
    'anomaly-what-is-colour-grading.png'
);

execute_test(
    '797 = Anomaly = Are TV Commercials still relevant in 2020?',
    'https://anomaly.com.au/video-production/tv-commercials/',
    'anomaly-tv-commercials.png'
);

execute_test(
    '799 = Anomaly = What is SEO?',
    'https://anomaly.com.au/digital-marketing/what-is-seo/',
    'anomaly-what-is-seo.png'
);

Anomaly Logo

Start a project