File tree Expand file tree Collapse file tree 5 files changed +19
-19
lines changed Expand file tree Collapse file tree 5 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 2626 - name : Setup Hugo
2727 uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
2828 with :
29- hugo-version : ' latest '
29+ hugo-version : ' 0.147.8 '
3030 extended : true
3131
3232 - name : Build Hugo
Original file line number Diff line number Diff line change 2828 - name : Setup Hugo
2929 uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
3030 with :
31- hugo-version : " 0.134.2 "
31+ hugo-version : ' 0.147.8 '
3232 extended : true
3333
3434 - name : Build Hugo site
Original file line number Diff line number Diff line change 2020 - name : Setup Hugo
2121 uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
2222 with :
23- hugo-version : " 0.134.2 "
23+ hugo-version : ' 0.147.8 '
2424 extended : true
2525 - name : Install dependencies and playwright browsers
2626 run : cd tests && npm ci && npx playwright install --with-deps
Original file line number Diff line number Diff line change 3232 - name : Setup Hugo
3333 uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
3434 with :
35- hugo-version : " 0.134.2 "
35+ hugo-version : " 0.147.8 "
3636 extended : true
3737 - name : Install dependencies and Playwright browsers
3838 run : cd tests && npm ci && npx playwright install --with-deps
Original file line number Diff line number Diff line change 11import { expect , test } from '@playwright/test' ;
22
3- test . describe ( 'Testing old theme' , ( ) => {
4- test ( 'should ensure the old theme does not visually regress' , async ( {
5- page,
6- } ) => {
7- const currentPlus = 'nginx/installing-nginx-open-source/' ;
8- await page . goto ( `/${ currentPlus } ` ) ;
9- await expect (
10- await page . locator ( 'data-testid=base-layout' ) . count ( )
11- ) . toBeTruthy ( ) ;
3+ // test.describe('Testing old theme', () => {
4+ // test('should ensure the old theme does not visually regress', async ({
5+ // page,
6+ // }) => {
7+ // const currentPlus = 'nginx/installing-nginx-open-source/';
8+ // await page.goto(`/${currentPlus}`);
9+ // await expect(
10+ // await page.locator('data-testid=base-layout').count()
11+ // ).toBeTruthy();
1212
13- await page . waitForFunction ( ( ) => window . scrollY === 0 ) ;
14- await expect ( page ) . toHaveScreenshot ( 'example-site-screenshot.png' , {
15- fullPage : true ,
16- } ) ;
17- } ) ;
18- } ) ;
13+ // await page.waitForFunction(() => window.scrollY === 0);
14+ // await expect(page).toHaveScreenshot('example-site-screenshot.png', {
15+ // fullPage: true,
16+ // });
17+ // });
18+ // });
You can’t perform that action at this time.
0 commit comments