fix: Cypress tests that were introduced in improved App typography PR (#27549)

This PR fixes a cypress test failure which was introduced in #25939
This commit is contained in:
Pawan Kumar 2023-09-22 10:00:26 +05:30 committed by GitHub
parent 20f4c7e5e1
commit c275a8f83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -123,14 +123,6 @@ describe("Nested List widget V2 ", () => {
});
it("5. Verify Theme change", () => {
[0, 1, 2].forEach((index) => {
agHelper.AssertAttribute(
locators._listText,
"font-family",
"Nunito Sans",
index,
);
});
agHelper.PressEscape();
appSettings.OpenPaneAndChangeTheme("Pacific");
[0, 1, 2].forEach((index) => {

View File

@ -115,7 +115,10 @@ describe("Text widget tests", function () {
it("5. Verify text widget styles", function () {
propPane.MoveToTab("Style");
//General
propPane.AssertPropertiesDropDownCurrentValue("Font family", "Nunito Sans");
propPane.AssertPropertiesDropDownCurrentValue(
"Font family",
"System Default",
);
propPane.SelectPropertiesDropDown("Font family", "Poppins");
propPane.AssertPropertiesDropDownCurrentValue("Font size", "M");
propPane.SelectPropertiesDropDown("Font size", "S");