check-gospel-map-paints reads the tree's name from the build config too
It landed on main after the tree-name codemod ran and carried one 'doxa-maps' literal.
This commit is contained in:
parent
456b920fb6
commit
3c3e357068
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ import { chromium } from 'playwright'
|
|||
import { serveReaped } from './_serve-reaped.mjs'
|
||||
import { resolve, dirname } from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { TREE_NAME } from './_tree-name.mjs'
|
||||
|
||||
const HERE = dirname(fileURLToPath(import.meta.url))
|
||||
const REPO = resolve(HERE, '..')
|
||||
|
|
@ -54,7 +55,7 @@ let browser
|
|||
try {
|
||||
browser = await chromium.launch()
|
||||
const page = await browser.newPage({ viewport: { width: 1440, height: 900 } })
|
||||
await page.goto(BASE + '/doxa-maps/gospel-resources/resources-map/index.html',
|
||||
await page.goto(BASE + `/${TREE_NAME}/gospel-resources/resources-map/index.html`,
|
||||
{ waitUntil: 'networkidle', timeout: 90000 })
|
||||
await page.waitForFunction(() => window.__grState && window.__grState().pins > 0, null, { timeout: 60000 })
|
||||
await page.waitForTimeout(9000)
|
||||
|
|
|
|||
Loading…
Reference in a new issue