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 26
26
- name : Setup Hugo
27
27
uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
28
28
with :
29
- hugo-version : ' latest '
29
+ hugo-version : ' 0.147.8 '
30
30
extended : true
31
31
32
32
- name : Build Hugo
Original file line number Diff line number Diff line change 28
28
- name : Setup Hugo
29
29
uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
30
30
with :
31
- hugo-version : " 0.134.2 "
31
+ hugo-version : ' 0.147.8 '
32
32
extended : true
33
33
34
34
- name : Build Hugo site
Original file line number Diff line number Diff line change 20
20
- name : Setup Hugo
21
21
uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
22
22
with :
23
- hugo-version : " 0.134.2 "
23
+ hugo-version : ' 0.147.8 '
24
24
extended : true
25
25
- name : Install dependencies and playwright browsers
26
26
run : cd tests && npm ci && npx playwright install --with-deps
Original file line number Diff line number Diff line change 32
32
- name : Setup Hugo
33
33
uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
34
34
with :
35
- hugo-version : " 0.134.2 "
35
+ hugo-version : " 0.147.8 "
36
36
extended : true
37
37
- name : Install dependencies and Playwright browsers
38
38
run : cd tests && npm ci && npx playwright install --with-deps
Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
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();
12
12
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