Skip to content

Commit

Permalink
updating text tranaltion license
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbykumar706584 committed Oct 9, 2023
1 parent 0435adc commit 2144d64
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 @@ -334,6 +334,19 @@ test("Update/Edit text transaltion project scope custom book genesis and exodus
expect(await title).toBe('Projects')
})

test("Update/Edit text translation project license", 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 window.getByRole('button', { name: 'CC BY-SA' }).click()
await window.getByRole('option', { name: 'CC BY', exact: true }).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 2144d64

Please sign in to comment.