This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch gh-2331
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 5a3cb59546af61cb277784ac58a5c114d70903f6
Author: Bruno P. Kinoshita <[email protected]>
AuthorDate: Thu Mar 14 00:46:14 2024 +0100

    GH-2331: Fix test to match the DOM structure (due to replacing JenaTable by 
TableListing to get pagination)
---
 jena-fuseki2/jena-fuseki-ui/tests/e2e/specs/datasets.cy.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/jena-fuseki2/jena-fuseki-ui/tests/e2e/specs/datasets.cy.js 
b/jena-fuseki2/jena-fuseki-ui/tests/e2e/specs/datasets.cy.js
index 6009103025..e5be01a35b 100644
--- a/jena-fuseki2/jena-fuseki-ui/tests/e2e/specs/datasets.cy.js
+++ b/jena-fuseki2/jena-fuseki-ui/tests/e2e/specs/datasets.cy.js
@@ -300,7 +300,7 @@ describe('datasets', () => {
         .should('be.visible')
       // Dataset Size displays no data by default.
       cy
-        .get('table#dataset-size-table > tbody > tr > td')
+        .get('#dataset-size-table * table > tbody > tr > td')
         .should('contain', 'No data')
       // Count the triples.
       cy
@@ -314,19 +314,19 @@ describe('datasets', () => {
         .should('not.exist')
       // Now the table must have the new column header and body.
       cy
-        .get('table#dataset-size-table > thead > tr > th')
+        .get('#dataset-size-table * table > thead > tr > th')
         .eq(0)
         .should('contain', 'graph name')
       cy
-        .get('table#dataset-size-table > thead > tr > th')
+        .get('#dataset-size-table * table > thead > tr > th')
         .eq(1)
         .should('contain', 'triples')
       cy
-        .get('table#dataset-size-table > tbody > tr > td')
+        .get('#dataset-size-table * table > tbody > tr > td')
         .eq(0)
         .should('contain', 'default graph')
       cy
-        .get('table#dataset-size-table > tbody > tr > td')
+        .get('#dataset-size-table * table > tbody > tr > td')
         .eq(1)
         .should('contain', '42')
     })

Reply via email to