Skip to content

Commit

Permalink
Update placeholder in the test for nopdf param
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimKovalenkoSNF committed Oct 4, 2023
1 parent b44bf8b commit c96a237
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/e2e/mobileRenderFormatParams.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ describe('Mobile render with multiple format params', () => {
rimraf.sync(`./${testId}`)
})

// TODO: secure nppdf format for all renders
test.skip('Test WikimediaMobile render with en.wikipedia.org using format:nopdf', async () => {
const articleList = 'PDF'
const now = new Date()
Expand All @@ -117,8 +116,8 @@ describe('Mobile render with multiple format params', () => {

const anchorElements = Array.from(articleDoc.querySelectorAll('a'))

anchorElements.forEach((anchor) => {
expect(anchor.href).not.toContain('.pdf')
anchorElements.forEach(() => {
// TODO: Check valid links to pdf source
})

rimraf.sync(`./${testId}`)
Expand Down

0 comments on commit c96a237

Please sign in to comment.