Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/doc/domain/usfm_error_detection_and_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@
("nak-x-bileki", "reg", "2ti"),
("nak-x-bileki", "reg", "jas"),
("nak-x-bileki", "reg", "mrk"),
("ndc-x-chibangwe", "reg", "mrk"),
("ndc-x-chidanda", "reg", "luk"),
("ndc-x-chidanda", "reg", "gal"),
# ("ndc-x-chibangwe", "reg", "mrk"), # unavailable from data API
# ("ndc-x-chidanda", "reg", "luk"), # unavailable from data API
# ("ndc-x-chidanda", "reg", "gal"), # unavailable from data API
("nfd", "reg", "gal"),
("nfd", "reg", "2th"),
("nfd", "reg", "2ti"),
Expand Down
2 changes: 1 addition & 1 deletion frontend/.env
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ PUBLIC_CHAPTERS_IN_BOOKS_URL = '/chapters_in_books'
PUBLIC_PRODUCTION_DOMAIN = 'bibleineverylanguage.org'

PUBLIC_TURN_OFF_EPUB = true
PUBLIC_TURN_OFF_PDF = true
PUBLIC_TURN_OFF_PDF = false
2 changes: 1 addition & 1 deletion frontend/tests/e2e/doc_test_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test('ui part 2', async ({ page }) => {
.nth(2)
.click()
await page.getByRole('button', { name: 'Next' }).click()
// await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByText('Interleave content by chapter').click()
await page.getByRole('button', { name: 'Generate File' }).click()
})
Expand Down
4 changes: 2 additions & 2 deletions frontend/tests/e2e/doc_test_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test.skip('can select gateway tab after first selecting heart language and hitti
await page.getByText('Regular').click({ timeout: 120_000 })
await page.getByText('Unlocked Literal Bible').click()
await page.getByRole('button', { name: 'Next' }).click()
// await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByLabel('Interleave content by chapter').check()
await page.getByRole('button', { name: 'Generate File' }).click()
})
Expand All @@ -68,7 +68,7 @@ test('optional settings', async ({ page }) => {
await page.getByRole('button', { name: 'Next' }).click()
await page.getByText('Regular').click()
await page.getByRole('button', { name: 'Next' }).click()
// await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByRole('radio', { name: 'PDF' }).click()
await expect(page.getByRole('main')).toContainText('▶ Show Optional Settings')
await page.getByRole('button', { name: '▶ Show Optional Settings' }).click()
await expect(page.getByRole('main')).toContainText(
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/e2e/doc_test_3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test('use section visual separator setting', async ({ page }) => {
await page.getByRole('button', { name: 'Generate File' }).click()
})

test.skip('ordering of books in document title(s) and body', async ({ page }) => {
test('ordering of books in document title(s) and body', async ({ page }) => {
await page.goto('http://localhost:8001/')
await page.getByPlaceholder('Search Gateway Languages').click()
await page.getByPlaceholder('Search Gateway Languages').fill('tpi')
Expand Down
8 changes: 4 additions & 4 deletions frontend/tests/e2e/doc_test_4.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect, test } from '@playwright/test'

test.skip('languages are sorted in clicked order', async ({ page }) => {
test('languages are sorted in clicked order', async ({ page }) => {
await page.goto('http://localhost:8001/')
await page.getByText('Français (French)').click()
await page.getByText('Cebuano').click()
Expand Down Expand Up @@ -30,7 +30,7 @@ test.skip('languages are sorted in clicked order', async ({ page }) => {
)
})

test.skip('use prince with lots of books', async ({ page }) => {
test('use prince with lots of books', async ({ page }) => {
await page.goto('http://localhost:8001/')
await page.getByPlaceholder('Search Gateway Languages').click()
await page.getByPlaceholder('Search Gateway Languages').fill('tpi')
Expand Down Expand Up @@ -68,8 +68,8 @@ test('acq', async ({ page }) => {
await page.getByRole('button', { name: 'Next' }).click()
await page.getByText('Regular').click()
await page.getByRole('button', { name: 'Next' }).click()
// await page.getByRole('radio', { name: 'PDF' }).click()
// await page.getByText('Use PrinceXml to produce the').click()
await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByText('Use PrinceXml to produce the').click()
await page.getByRole('button', { name: '▶ Show Optional Settings' }).click()
await expect(page.getByRole('main')).toContainText(
"Use chapter labels, e.g., 'Chapter 1' instead of '1'"
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/e2e/doc_test_5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test('merge of data API data and DOC only data', async ({ page }) => {
await expect(page.locator('body')).toContainText('Translation Notes')
})

test.skip('space between end of chunk and beginning of another', async ({ page }) => {
test('space between end of chunk and beginning of another', async ({ page }) => {
await page.goto('http://localhost:8001/')
await page.getByRole('button', { name: 'Heart' }).click()
await page.getByPlaceholder('Search Heart Languages').click()
Expand Down
6 changes: 3 additions & 3 deletions frontend/tests/e2e/doc_test_7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test('visibility of optional settings based on resources chosen', async ({ page
await page.getByLabel('French Louis Segond 1910').uncheck()
await page.getByLabel('Translation Words tw').uncheck()
await page.getByRole('button', { name: 'Next' }).click()
// await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByRole('button', { name: '▶ Show Optional Settings' }).click()
await expect(page.getByRole('main')).toContainText(
"Use chapter labels, e.g., 'Chapter 1' instead of '1'"
Expand Down Expand Up @@ -59,7 +59,7 @@ test('burmese', async ({ page }) => {
await expect(page.locator('body')).toContainText('Unlocked Literal Bible')
await page.getByLabel('Select all').check()
await page.getByRole('button', { name: 'Next' }).click()
// await page.getByRole('radio', { name: 'PDF' }).click()
// await page.getByText('Use PrinceXml to produce the').click()
await page.getByRole('radio', { name: 'PDF' }).click()
await page.getByText('Use PrinceXml to produce the').click()
await page.getByRole('button', { name: 'Generate File' }).click()
})
Loading