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", () => {
|
it("5. Verify Theme change", () => {
|
||||||
[0, 1, 2].forEach((index) => {
|
|
||||||
agHelper.AssertAttribute(
|
|
||||||
locators._listText,
|
|
||||||
"font-family",
|
|
||||||
"Nunito Sans",
|
|
||||||
index,
|
|
||||||
);
|
|
||||||
});
|
|
||||||
agHelper.PressEscape();
|
agHelper.PressEscape();
|
||||||
appSettings.OpenPaneAndChangeTheme("Pacific");
|
appSettings.OpenPaneAndChangeTheme("Pacific");
|
||||||
[0, 1, 2].forEach((index) => {
|
[0, 1, 2].forEach((index) => {
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,10 @@ describe("Text widget tests", function () {
|
||||||
it("5. Verify text widget styles", function () {
|
it("5. Verify text widget styles", function () {
|
||||||
propPane.MoveToTab("Style");
|
propPane.MoveToTab("Style");
|
||||||
//General
|
//General
|
||||||
propPane.AssertPropertiesDropDownCurrentValue("Font family", "Nunito Sans");
|
propPane.AssertPropertiesDropDownCurrentValue(
|
||||||
|
"Font family",
|
||||||
|
"System Default",
|
||||||
|
);
|
||||||
propPane.SelectPropertiesDropDown("Font family", "Poppins");
|
propPane.SelectPropertiesDropDown("Font family", "Poppins");
|
||||||
propPane.AssertPropertiesDropDownCurrentValue("Font size", "M");
|
propPane.AssertPropertiesDropDownCurrentValue("Font size", "M");
|
||||||
propPane.SelectPropertiesDropDown("Font size", "S");
|
propPane.SelectPropertiesDropDown("Font size", "S");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user