Skip to content

Commit

Permalink
updating text tranaltion project scope with genesis and exodus from OT
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbykumar706584 committed Oct 9, 2023
1 parent d4822a1 commit 0435adc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions e2e-tests/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,23 @@ test("Update/Edit text translation project scope custom book into NT", async ({
expect(await title).toBe('Projects')
})

test("Update/Edit text transaltion project scope custom book genesis and exodus from OT", 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="custom-book"]')).toBeVisible()
await window.locator('//div[@aria-label="custom-book"]').click()
await window.locator('//*[@aria-label="ot-Genesis"]').click()
await window.locator('//*[@aria-label="ot-Exodus"]').click()
await window.locator('//*[@id="save-canon"]').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 () => {
await signOut(window, expect)
Expand Down

0 comments on commit 0435adc

Please sign in to comment.