From d4822a1d541f7cfff6396bbf9a15ac169dcfd18b Mon Sep 17 00:00:00 2001 From: Bobbykumar706584 Date: Mon, 9 Oct 2023 16:54:39 +0530 Subject: [PATCH] updating text tranaltion project scope to NT --- e2e-tests/base.test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/e2e-tests/base.test.ts b/e2e-tests/base.test.ts index 721377d95..46bf2fc50 100644 --- a/e2e-tests/base.test.ts +++ b/e2e-tests/base.test.ts @@ -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 () => {