This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new 4adf5fd5c4 GH-2331: Fix test to match the DOM structure (due to
replacing JenaTable by TableListing to get pagination)
4adf5fd5c4 is described below
commit 4adf5fd5c4b36640c4c8b3adb115a015d25283fd
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')
})