From 3fa017e8b98f18319e111c9b3ce0283144339870 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Thu, 25 Jul 2024 09:28:28 -0500 Subject: [PATCH] Update selector and widths per css change --- .../selenium/tests/DashboardTableWidgetExportTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/kingsrook/qqq/frontend/materialdashboard/selenium/tests/DashboardTableWidgetExportTest.java b/src/test/java/com/kingsrook/qqq/frontend/materialdashboard/selenium/tests/DashboardTableWidgetExportTest.java index 23ad722..61e737e 100755 --- a/src/test/java/com/kingsrook/qqq/frontend/materialdashboard/selenium/tests/DashboardTableWidgetExportTest.java +++ b/src/test/java/com/kingsrook/qqq/frontend/materialdashboard/selenium/tests/DashboardTableWidgetExportTest.java @@ -56,8 +56,8 @@ public class DashboardTableWidgetExportTest extends QBaseSeleniumTest "label": "Sample Table Widget", "footerHTML": "Updated at 2023-10-17 09:11:38 AM CDT", "columns": [ - { "type": "html", "header": "Id", "accessor": "id", "width": "1%" }, - { "type": "html", "header": "Name", "accessor": "name", "width": "99%" } + { "type": "html", "header": "Id", "accessor": "id", "width": "30px" }, + { "type": "html", "header": "Name", "accessor": "name", "width": "1fr" } ], "rows": [ { "id": "1", "name": "Homer S." }, @@ -83,7 +83,7 @@ public class DashboardTableWidgetExportTest extends QBaseSeleniumTest // assert that the table widget rendered its header and some contents // //////////////////////////////////////////////////////////////////////// qSeleniumLib.waitForSelectorContaining("#SampleTableWidget h6", "Sample Table Widget"); - qSeleniumLib.waitForSelectorContaining("#SampleTableWidget table a", "Homer S."); + qSeleniumLib.waitForSelectorContaining("#SampleTableWidget a", "Homer S."); qSeleniumLib.waitForSelectorContaining("#SampleTableWidget div", "Updated at 2023-10-17 09:11:38 AM CDT"); /////////////////////////////