From 8443b68e88a5ece586103f47907aa3d2b7ffae9d Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Tue, 10 Dec 2024 14:30:00 +0700 Subject: [PATCH 1/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - implement default sort in dashboard detail config - implement default sort in edit widget --- .../dashboard/component/CaseWidget/CaseWidget.xhtml | 6 +++--- .../dashboard/component/TaskWidget/TaskWidget.xhtml | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml index a955c99272a..c9914528642 100644 --- a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml +++ b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml @@ -52,7 +52,7 @@ - + diff --git a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml index d3ed08f9797..ca65e22dfbc 100644 --- a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml +++ b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml @@ -23,7 +23,7 @@ - @@ -52,7 +52,7 @@ + From bf57aa42ed069f1244a03cba7097bb7e9362780b Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Thu, 12 Dec 2024 09:04:41 +0700 Subject: [PATCH 2/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - add GUItests for DashboardEditTaskWidgetTest --- .../page/TaskWidgetNewDashBoardPage.java | 15 +++++++++ .../DashboardEditTaskWidgetTest.java | 31 +++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java index b2c269d7f42..51d6c42eb4a 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java @@ -468,6 +468,13 @@ public void clickOnHeaderTaskByColumn(String columnName) { public SelenideElement getTheFirstTaskWidgetByColumn(String columnName) { return getColumnOfTaskHasIndex(0, columnName); } + + public SelenideElement getFirstTaskOfTaskWidget() { + // 0 is first index + $("div[id$='dashboard-tasks']").shouldBe(appear, DEFAULT_TIMEOUT).$$("table tbody tr").get(0).shouldBe(appear, + DEFAULT_TIMEOUT); + return $("div[id$='dashboard-tasks']").$$("table tbody tr").get(0); + } public SelenideElement getTaskEmptyMessage() { return $("[id$='dashboard-tasks-container'] [id$='empty-message-container']").shouldBe(appear, DEFAULT_TIMEOUT); @@ -653,4 +660,12 @@ public boolean isWidgetInfomationIconAppear() { public void clickOnWidgetFilterHeader() { $$("strong").filter(Condition.text("Filter options")).first().click(); } + + public void clickOnTaskNameColumn() { + $("th[id$='dashboard-tasks-columns:3']").shouldBe(getClickableCondition()).click(); + } + + public void clickOnTaskPriorityColumn() { + $("th[id$='dashboard-tasks-columns:1']").shouldBe(getClickableCondition()).click(); + } } diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java index bf56c48e4ae..15463788def 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java @@ -1,5 +1,7 @@ package com.axonivy.portal.selenium.test.dashboard; +import static com.codeborne.selenide.Condition.text; + import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -12,10 +14,15 @@ import com.axonivy.portal.selenium.page.DashboardConfigurationPage; import com.axonivy.portal.selenium.page.NewDashboardDetailsEditPage; import com.axonivy.portal.selenium.page.TaskEditWidgetNewDashBoardPage; +import com.axonivy.portal.selenium.page.TaskWidgetNewDashBoardPage; import com.codeborne.selenide.CollectionCondition; @IvyWebTest public class DashboardEditTaskWidgetTest extends BaseTest { + private static final String YOUR_TASKS_WIDGET = "Your Tasks"; + private static final String MATERNITY_LEAVE_REQUEST = "Maternity Leave Request"; + private static final String SICK_LEAVE_REQUEST = "Sick Leave Request"; + private NewDashboardDetailsEditPage newDashboardDetailsEditPage; @Override @@ -165,4 +172,28 @@ public void testFilterResponsible() { taskWidget.applyFilter(); taskWidget.countAllTasks().shouldHave(CollectionCondition.size(0)); } + + @Test + public void testDefaultSortOnTaskWidget() { + LinkNavigator.redirectToPortalDashboardConfiguration(); + var configurationPage = new DashboardConfigurationPage(); + var modificationPage = configurationPage.openEditPublicDashboardsPage(); + newDashboardDetailsEditPage = modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); + + TaskWidgetNewDashBoardPage taskWidget = new TaskWidgetNewDashBoardPage(YOUR_TASKS_WIDGET); + + // sort by task name + taskWidget.clickOnTaskNameColumn(); + taskWidget.getFirstTaskOfTaskWidget(); + taskWidget.getFirstTaskOfTaskWidget().shouldHave(text(MATERNITY_LEAVE_REQUEST), DEFAULT_TIMEOUT); + + configurationPage = newDashboardDetailsEditPage.backToConfigurationPage(); + configurationPage.openEditPublicDashboardsPage(); + modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); + + // sort by task priority + taskWidget.clickOnTaskPriorityColumn(); + taskWidget.getFirstTaskOfTaskWidget(); + taskWidget.getFirstTaskOfTaskWidget().shouldHave(text(SICK_LEAVE_REQUEST), DEFAULT_TIMEOUT); + } } From f78fe8ea5c6a9969631ccd321e74fd23fa5590b9 Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Thu, 12 Dec 2024 09:49:17 +0700 Subject: [PATCH 3/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - update Jenkinsfile --- build/document-screenshot-selenide/Jenkinsfile | 6 +----- build/gui-test-new-dashboard/Jenkinsfile | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/build/document-screenshot-selenide/Jenkinsfile b/build/document-screenshot-selenide/Jenkinsfile index 7d77ac2d8b7..d7fe1b67782 100644 --- a/build/document-screenshot-selenide/Jenkinsfile +++ b/build/document-screenshot-selenide/Jenkinsfile @@ -1,14 +1,10 @@ pipeline { - agent {label 'portal-slave'} + agent {label 'vu-pc'} options { buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60')) } - triggers { - cron('0 15 * * *') - } - tools { maven '3.9' jdk '21' diff --git a/build/gui-test-new-dashboard/Jenkinsfile b/build/gui-test-new-dashboard/Jenkinsfile index 8ce96f24e30..c3f00b47e9c 100644 --- a/build/gui-test-new-dashboard/Jenkinsfile +++ b/build/gui-test-new-dashboard/Jenkinsfile @@ -1,15 +1,10 @@ pipeline { - agent {label 'portal-slave'} + agent {label 'vu-pc'} options { buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60')) } - triggers { - pollSCM '0 7 * * *' - cron('0 11 * * *') - } - tools { maven '3.9' jdk '21' From a01b6d04b2c2d1f0b06166910b5fddc1f6f5e5c7 Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Thu, 12 Dec 2024 11:49:59 +0700 Subject: [PATCH 4/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - handle multiple ajax call in resizing mode --- .../generic/dashboard/component/CaseWidget/CaseWidget.xhtml | 6 +++--- .../generic/dashboard/component/TaskWidget/TaskWidget.xhtml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml index c9914528642..6d37265bc9f 100644 --- a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml +++ b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml @@ -52,7 +52,7 @@ - + diff --git a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml index ca65e22dfbc..ea674839278 100644 --- a/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml +++ b/AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml @@ -52,7 +52,7 @@ - + From c4931a31c03b91ae66a219dea1c71750772e3988 Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Thu, 12 Dec 2024 14:46:02 +0700 Subject: [PATCH 5/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - update GUItest DashboardEditTaskWidgetTest --- .../page/TaskEditWidgetNewDashBoardPage.java | 17 ++++++++++++++++ .../page/TaskWidgetNewDashBoardPage.java | 15 -------------- .../DashboardEditTaskWidgetTest.java | 20 +++++++++---------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskEditWidgetNewDashBoardPage.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskEditWidgetNewDashBoardPage.java index f0c8a6497d8..efd88f36f55 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskEditWidgetNewDashBoardPage.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskEditWidgetNewDashBoardPage.java @@ -478,4 +478,21 @@ public SelenideElement getExpandModeCheckbox() { public void clickOnExpandModeCheckbox() { getExpandModeCheckbox().shouldBe(getClickableCondition(), DEFAULT_TIMEOUT).click(); } + + public void clickOnTaskNameColumn() { + $("div[id$='task-widget-preview:dashboard-tasks']").shouldBe(appear, DEFAULT_TIMEOUT) + .$("th[id$='dashboard-tasks-columns:3']").shouldBe(getClickableCondition()).click(); + } + + public void clickOnTaskPriorityColumn() { + $("div[id$='task-widget-preview:dashboard-tasks']").shouldBe(appear, DEFAULT_TIMEOUT) + .$("th[id$='dashboard-tasks-columns:1']").shouldBe(getClickableCondition()).click(); + } + + public SelenideElement getFirstTaskOfTaskWidget() { + $("div[id$='task-widget-preview:dashboard-tasks']").shouldBe(appear, DEFAULT_TIMEOUT).$$("table tbody tr").get(0).shouldBe(appear, + DEFAULT_TIMEOUT); + return $("div[id$='task-widget-preview:dashboard-tasks']").$$("table tbody tr").get(0); + } + } \ No newline at end of file diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java index 51d6c42eb4a..b2c269d7f42 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/TaskWidgetNewDashBoardPage.java @@ -468,13 +468,6 @@ public void clickOnHeaderTaskByColumn(String columnName) { public SelenideElement getTheFirstTaskWidgetByColumn(String columnName) { return getColumnOfTaskHasIndex(0, columnName); } - - public SelenideElement getFirstTaskOfTaskWidget() { - // 0 is first index - $("div[id$='dashboard-tasks']").shouldBe(appear, DEFAULT_TIMEOUT).$$("table tbody tr").get(0).shouldBe(appear, - DEFAULT_TIMEOUT); - return $("div[id$='dashboard-tasks']").$$("table tbody tr").get(0); - } public SelenideElement getTaskEmptyMessage() { return $("[id$='dashboard-tasks-container'] [id$='empty-message-container']").shouldBe(appear, DEFAULT_TIMEOUT); @@ -660,12 +653,4 @@ public boolean isWidgetInfomationIconAppear() { public void clickOnWidgetFilterHeader() { $$("strong").filter(Condition.text("Filter options")).first().click(); } - - public void clickOnTaskNameColumn() { - $("th[id$='dashboard-tasks-columns:3']").shouldBe(getClickableCondition()).click(); - } - - public void clickOnTaskPriorityColumn() { - $("th[id$='dashboard-tasks-columns:1']").shouldBe(getClickableCondition()).click(); - } } diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java index 15463788def..b782e0513e3 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java @@ -181,19 +181,17 @@ public void testDefaultSortOnTaskWidget() { newDashboardDetailsEditPage = modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); TaskWidgetNewDashBoardPage taskWidget = new TaskWidgetNewDashBoardPage(YOUR_TASKS_WIDGET); + TaskEditWidgetNewDashBoardPage taskEditWidgetPage = taskWidget.openEditTaskWidget(); - // sort by task name - taskWidget.clickOnTaskNameColumn(); - taskWidget.getFirstTaskOfTaskWidget(); - taskWidget.getFirstTaskOfTaskWidget().shouldHave(text(MATERNITY_LEAVE_REQUEST), DEFAULT_TIMEOUT); + // sort by task priority + taskEditWidgetPage.clickOnTaskPriorityColumn(); + taskEditWidgetPage.getFirstTaskOfTaskWidget(); + taskEditWidgetPage.getFirstTaskOfTaskWidget().shouldHave(text(SICK_LEAVE_REQUEST), DEFAULT_TIMEOUT); - configurationPage = newDashboardDetailsEditPage.backToConfigurationPage(); - configurationPage.openEditPublicDashboardsPage(); - modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); + // sort by task name + taskEditWidgetPage.clickOnTaskNameColumn(); + taskEditWidgetPage.getFirstTaskOfTaskWidget(); + taskEditWidgetPage.getFirstTaskOfTaskWidget().shouldHave(text(MATERNITY_LEAVE_REQUEST), DEFAULT_TIMEOUT); - // sort by task priority - taskWidget.clickOnTaskPriorityColumn(); - taskWidget.getFirstTaskOfTaskWidget(); - taskWidget.getFirstTaskOfTaskWidget().shouldHave(text(SICK_LEAVE_REQUEST), DEFAULT_TIMEOUT); } } From eea2cacee7ad3e203fa7b29cbcae62d1398671e7 Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Thu, 12 Dec 2024 15:12:39 +0700 Subject: [PATCH 6/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - update GUItest DashboardEditCaseWidgetTest --- .../page/CaseEditWidgetNewDashBoardPage.java | 12 +++++++++ .../DashboardEditCaseWidgetTest.java | 27 +++++++++++++++++++ .../DashboardEditTaskWidgetTest.java | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/CaseEditWidgetNewDashBoardPage.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/CaseEditWidgetNewDashBoardPage.java index 240f8b4b48b..0ac3272b52e 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/CaseEditWidgetNewDashBoardPage.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/page/CaseEditWidgetNewDashBoardPage.java @@ -424,4 +424,16 @@ public void resizeColumn() { .clickAndHold(element) .perform(); } + + public void clickOnCaseNameColumn() { + $("div[id$='case-widget-preview:dashboard-cases']").shouldBe(appear, DEFAULT_TIMEOUT) + .$("th[id$='dashboard-cases-columns:1']").shouldBe(getClickableCondition()).click(); + } + + public SelenideElement getFirstCaseOfCaseWidget() { + $("div[id$='case-widget-preview:dashboard-cases']").shouldBe(appear, DEFAULT_TIMEOUT).$$("table tbody tr").get(0).shouldBe(appear, + DEFAULT_TIMEOUT); + return $("div[id$='case-widget-preview:dashboard-cases']").$$("table tbody tr").get(0); + } + } diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditCaseWidgetTest.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditCaseWidgetTest.java index bc6f4702b75..3d55583f38e 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditCaseWidgetTest.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditCaseWidgetTest.java @@ -1,5 +1,7 @@ package com.axonivy.portal.selenium.test.dashboard; +import static com.codeborne.selenide.Condition.text; + import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.openqa.selenium.Dimension; @@ -12,6 +14,7 @@ import com.axonivy.portal.selenium.common.ScreenshotUtils; import com.axonivy.portal.selenium.common.TestAccount; import com.axonivy.portal.selenium.page.CaseEditWidgetNewDashBoardPage; +import com.axonivy.portal.selenium.page.CaseWidgetNewDashBoardPage; import com.axonivy.portal.selenium.page.DashboardConfigurationPage; import com.axonivy.portal.selenium.page.NewDashboardDetailsEditPage; import com.codeborne.selenide.CollectionCondition; @@ -19,6 +22,10 @@ @IvyWebTest public class DashboardEditCaseWidgetTest extends BaseTest { private static final String NAME_STR = "Name"; + private static final String YOUR_CASES_WIDGET = "Your Cases"; + + private static final String ALPHA_COMPANY = "Alpha Company"; + private static final String ORDER_PIZZA = " Order Pizza"; @Override @BeforeEach @@ -201,4 +208,24 @@ private NewDashboardDetailsEditPage gotoEditPublicDashboardPage() { return modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); } + @Test + public void testDefaultSortOnCaseWidget() { + redirectToRelativeLink(createCaseWithTechnicalCaseUrl); + redirectToRelativeLink(createAlphaCompanyUrl); + + LinkNavigator.redirectToPortalDashboardConfiguration(); + var configurationPage = new DashboardConfigurationPage(); + var modificationPage = configurationPage.openEditPublicDashboardsPage(); + modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); + + CaseWidgetNewDashBoardPage caseWidget = new CaseWidgetNewDashBoardPage(YOUR_CASES_WIDGET); + CaseEditWidgetNewDashBoardPage caseEditWidgetPage = caseWidget.openEditWidget(); + + caseEditWidgetPage.clickOnCaseNameColumn(); + caseEditWidgetPage.getFirstCaseOfCaseWidget().shouldHave(text(ALPHA_COMPANY), DEFAULT_TIMEOUT);; + + caseEditWidgetPage.clickOnCaseNameColumn(); + caseEditWidgetPage.getFirstCaseOfCaseWidget().shouldHave(text(ORDER_PIZZA), DEFAULT_TIMEOUT);; + + } } diff --git a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java index b782e0513e3..1fffa4e4867 100644 --- a/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java +++ b/AxonIvyPortal/portal-selenium-test/src_test/com/axonivy/portal/selenium/test/dashboard/DashboardEditTaskWidgetTest.java @@ -178,7 +178,7 @@ public void testDefaultSortOnTaskWidget() { LinkNavigator.redirectToPortalDashboardConfiguration(); var configurationPage = new DashboardConfigurationPage(); var modificationPage = configurationPage.openEditPublicDashboardsPage(); - newDashboardDetailsEditPage = modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); + modificationPage.navigateToEditDashboardDetailsByName("Dashboard"); TaskWidgetNewDashBoardPage taskWidget = new TaskWidgetNewDashBoardPage(YOUR_TASKS_WIDGET); TaskEditWidgetNewDashBoardPage taskEditWidgetPage = taskWidget.openEditTaskWidget(); From 40e4e25a3474be1d2eb4b237d05b267f4822b9a3 Mon Sep 17 00:00:00 2001 From: tphvu-axonivy Date: Wed, 18 Dec 2024 10:08:49 +0700 Subject: [PATCH 7/7] IVYPORTAL-18063-Bring-back-default-sort-for-task-case-widget-LE - revert Jenkinsfile --- build/document-screenshot-selenide/Jenkinsfile | 6 +++++- build/gui-test-new-dashboard/Jenkinsfile | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/build/document-screenshot-selenide/Jenkinsfile b/build/document-screenshot-selenide/Jenkinsfile index d7fe1b67782..49823be4f78 100644 --- a/build/document-screenshot-selenide/Jenkinsfile +++ b/build/document-screenshot-selenide/Jenkinsfile @@ -1,9 +1,13 @@ pipeline { - agent {label 'vu-pc'} + agent {label 'portal-slave'} options { buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60')) } + + triggers { + cron('0 15 * * *') + } tools { maven '3.9' diff --git a/build/gui-test-new-dashboard/Jenkinsfile b/build/gui-test-new-dashboard/Jenkinsfile index c3f00b47e9c..8ce96f24e30 100644 --- a/build/gui-test-new-dashboard/Jenkinsfile +++ b/build/gui-test-new-dashboard/Jenkinsfile @@ -1,10 +1,15 @@ pipeline { - agent {label 'vu-pc'} + agent {label 'portal-slave'} options { buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60')) } + triggers { + pollSCM '0 7 * * *' + cron('0 11 * * *') + } + tools { maven '3.9' jdk '21'