Skip to content

Commit

Permalink
updating text tranaltion project scope to NT
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbykumar706584 committed Oct 9, 2023
1 parent ee34425 commit d4822a1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions e2e-tests/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,19 @@ test("Update/Edit text translation project scope mark and luke", async ({ textPr
expect(await title).toBe('Projects')
})

test("Update/Edit text translation project scope custom book into NT", async ({ textProject }) => {
await goToEditProject(window, expect, textProject)
await expect(window.locator('//button[@id="open-advancesettings"]')).toBeVisible()
await window.locator('//button[@id="open-advancesettings"]').click()
await expect(window.locator('//div[@aria-label="new-testament"]')).toBeVisible()
await window.locator('//div[@aria-label="new-testament"]').click()
await window.locator('//button[contains(text(),"Ok")]').click()
await expect(window.locator('//button[@aria-label="save-edit-project"]')).toBeVisible()
await window.locator('//button[@aria-label="save-edit-project"]').click()
await window.waitForTimeout(3000)
const title = await window.textContent('[aria-label=projects]');
expect(await title).toBe('Projects')
})

/*signing out */
test("Sign out the Application", async () => {
Expand Down

0 comments on commit d4822a1

Please sign in to comment.