This commit is contained in:
akshitasingh 2021-02-06 08:16:30 +05:30
parent d0802fa0ce
commit 86d64bfb15
10 changed files with 802 additions and 796 deletions

View File

@ -3,15 +3,21 @@ describe(__filename, function () {
const fixture = [ const fixture = [
['tests'], ['tests'],
['2021-01-31https://www.google.com'], ['2021-01-31https://www.google.com'],
['https://www.wikidata.org/wiki/Property:P670 https://www.wikidata.org/wiki/Property:P669 are now mapped to https://schema.org/streetAddress via https://www.wikidata.org/wiki/Property:P2235'], [
'https://www.wikidata.org/wiki/Property:P670 https://www.wikidata.org/wiki/Property:P669 are now mapped to https://schema.org/streetAddress via https://www.wikidata.org/wiki/Property:P2235',
],
['vhjhjjj https://github.com/OpenRefine/OpenRefine/issues/2519'], ['vhjhjjj https://github.com/OpenRefine/OpenRefine/issues/2519'],
] ]
cy.loadAndVisitProject(fixture) cy.loadAndVisitProject(fixture)
cy.getCell(0, 'tests').contains('2021-01-31https://www.google.com')
cy.getCell(0,'tests').contains('2021-01-31https://www.google.com') cy.getCell(1, 'tests')
cy.getCell(1,'tests').children('div').children('a').should('have.attr','href'); .children('div')
cy.getCell(2,'tests').children('div').children('a').should('have.attr','href'); .children('a')
.should('have.attr', 'href')
cy.getCell(2, 'tests')
.children('div')
.children('a')
.should('have.attr', 'href')
}) })
}) })