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:
parent
20f4c7e5e1
commit
c275a8f83f
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user