From 0435adc0785f9220cfb984c10c2eac4d0e8ea3a1 Mon Sep 17 00:00:00 2001 From: Bobbykumar706584 Date: Mon, 9 Oct 2023 17:00:20 +0530 Subject: [PATCH] updating text tranaltion project scope with genesis and exodus from OT --- e2e-tests/base.test.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/e2e-tests/base.test.ts b/e2e-tests/base.test.ts index 46bf2fc50..f26923f52 100644 --- a/e2e-tests/base.test.ts +++ b/e2e-tests/base.test.ts @@ -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)