/DynamicHeight/List_TextWidget_Spec.ts trial fix
This commit is contained in:
parent
3a0a5a822a
commit
6588de85fb
|
|
@ -17,14 +17,14 @@ describe("Dynamic Height Width validation list widget", function () {
|
||||||
entityExplorer.SelectEntityByName("List1", "Widgets");
|
entityExplorer.SelectEntityByName("List1", "Widgets");
|
||||||
//Widgets which were not possible to be added to list widget cannot be pasted/moved into the list widget with multitreeselect
|
//Widgets which were not possible to be added to list widget cannot be pasted/moved into the list widget with multitreeselect
|
||||||
entityExplorer.SelectEntityByName("MultiTreeSelect1", "List1");
|
entityExplorer.SelectEntityByName("MultiTreeSelect1", "List1");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}c`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
agHelper.WaitUntilAllToastsDisappear();
|
agHelper.WaitUntilAllToastsDisappear();
|
||||||
agHelper.Sleep(2000);
|
agHelper.Sleep(2000);
|
||||||
entityExplorer.SelectEntityByName("List1", "Widgets");
|
entityExplorer.SelectEntityByName("List1", "Widgets");
|
||||||
propPane.MoveToTab("Style");
|
propPane.MoveToTab("Style");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}v`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
agHelper.ValidateToastMessage(
|
agHelper.ValidateToastMessage(
|
||||||
|
|
@ -58,24 +58,24 @@ describe("Dynamic Height Width validation list widget", function () {
|
||||||
//Widgets when moved into the list widget have no dynamic height
|
//Widgets when moved into the list widget have no dynamic height
|
||||||
entityExplorer.SelectEntityByName("Text3", "Widgets");
|
entityExplorer.SelectEntityByName("Text3", "Widgets");
|
||||||
propPane.MoveToTab("Style");
|
propPane.MoveToTab("Style");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}c`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
entityExplorer.SelectEntityByName("List1", "Widgets");
|
entityExplorer.SelectEntityByName("List1", "Widgets");
|
||||||
propPane.MoveToTab("Style");
|
propPane.MoveToTab("Style");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}v`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
assertHelper.AssertNetworkStatus("@updateLayout", 200);
|
assertHelper.AssertNetworkStatus("@updateLayout", 200);
|
||||||
entityExplorer.NavigateToSwitcher("Explorer");
|
entityExplorer.NavigateToSwitcher("Explorer");
|
||||||
entityExplorer.SelectEntityByName("Text3Copy");
|
entityExplorer.SelectEntityByName("Text3Copy");
|
||||||
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
|
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}c`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
//agHelper.GetElement(locators._body).click({ force: true });
|
//agHelper.GetElement(locators._body).click({ force: true });
|
||||||
agHelper.GetElement(locators._canvasBody).click({ force: true });
|
agHelper.GetElement(locators._canvasBody).click({ force: true });
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}v`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
assertHelper.AssertNetworkStatus("@updateLayout");
|
assertHelper.AssertNetworkStatus("@updateLayout");
|
||||||
|
|
@ -101,12 +101,12 @@ describe("Dynamic Height Width validation list widget", function () {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
entityExplorer.SelectEntityByName("Text3CopyCopy", "Widgets");
|
entityExplorer.SelectEntityByName("Text3CopyCopy", "Widgets");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}c`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
entityExplorer.SelectEntityByName("List1", "Widgets");
|
entityExplorer.SelectEntityByName("List1", "Widgets");
|
||||||
propPane.MoveToTab("Style");
|
propPane.MoveToTab("Style");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}v`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
assertHelper.AssertNetworkStatus("@updateLayout", 200);
|
assertHelper.AssertNetworkStatus("@updateLayout", 200);
|
||||||
|
|
@ -114,13 +114,13 @@ describe("Dynamic Height Width validation list widget", function () {
|
||||||
entityExplorer.SelectEntityByName("Text3CopyCopyCopy", "Container1");
|
entityExplorer.SelectEntityByName("Text3CopyCopyCopy", "Container1");
|
||||||
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
|
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
|
||||||
entityExplorer.SelectEntityByName("Text3CopyCopy");
|
entityExplorer.SelectEntityByName("Text3CopyCopy");
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}x`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}x`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
entityExplorer.SelectEntityByName("List1");
|
entityExplorer.SelectEntityByName("List1");
|
||||||
propPane.MoveToTab("Style");
|
propPane.MoveToTab("Style");
|
||||||
agHelper.Sleep(500);
|
agHelper.Sleep(500);
|
||||||
agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
|
agHelper.TypeText(locators._canvasBody, `{${modifierKey}}v`, {
|
||||||
parseSpecialCharSeq: true,
|
parseSpecialCharSeq: true,
|
||||||
});
|
});
|
||||||
assertHelper.AssertNetworkStatus("@updateLayout", 200);
|
assertHelper.AssertNetworkStatus("@updateLayout", 200);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
# To run only limited tests - give the spec names in below format:
|
# To run only limited tests - give the spec names in below format:
|
||||||
cypress/e2e/Regression/ClientSide/Templates/Fork_Template_spec.js
|
cypress/e2e/Regression/ClientSide/Templates/Fork_Template_spec.js
|
||||||
|
cypress/e2e/Regression/ClientSide/DynamicHeight/List_TextWidget_Spec.ts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# For running all specs - uncomment below:
|
# For running all specs - uncomment below:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user