-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
18 translation version name in title bar #1979
base: master
Are you sure you want to change the base?
18 translation version name in title bar #1979
Conversation
Sefaria/Sefaria-Playwright-Tests#18 TODO: Decide if we want to test for default translation title.
Issue noted for Hebrew sources - no default translation is selected.
@saengel , this one isn't quite ready to merge. I'm wondering about your opinion on the file translation-version-name-appears-in-title.spec.ts, and the commented out tests. Do you want me to test for the existence of a default translation title? This will fail for Hebrew source language texts, as the default translation isn't selected in the translation side bar. |
Hi @b-w-cole - thank you again! Another fantastic PR - much appreciated! I think for Hebrew source language texts, let's keep them commented out for now. Let me know when it's ready for a review. |
Hi @saengel ! Sorry for the long wait. I tweaked the Hebrew source language tests to be their own separate test, as the logic needs to be slightly different. However, I noticed a quirk with the Hebrew Interface / Hebrew Source translations.
I would expect the Hebrew translation title to appear in the translation title. Also the source text switches itself to Bilingual. I will switch this test parameter to Shocken's translation for now and recommit. |
Also allowing default translation validations to be skipped for Hebrew language source texts
Hi @saengel , I was able to consolidate the English and Hebrew tests with a little rearranging. Additionally, I added bilingual support. |
Issue: Tests time out on assertions looking for text in the wrong language Solution: Clearing the cookies resets the cookie-setting process and allows language cookies to be refreshed for each context.
Description
A test to cover this test case: Sefaria/Sefaria-Playwright-Tests#18
Includes:
Code Changes
The following changes were made to the files below
Notes
Issue noted with Hebrew sources - the translation title doesn't appear by default. Such cases are commented out in the test parameters.