Skip to content

Commit

Permalink
fix: update publication.cy.js to consider URI as a string rather than…
Browse files Browse the repository at this point in the history
… a number
  • Loading branch information
AlasDiablo committed Nov 6, 2023
1 parent cf4e9ed commit 2a503e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cypress/e2e/phase_1/publication.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('Dataset Publication', () => {

cy.get('[data-rowindex=0]', { timeout: 3000 }).should(
'contains.text',
['2', '"Alain"', '"Chabat"', 'true'].join(''),
['"2"', '"Alain"', '"Chabat"', 'true'].join(''),
);
});
it('should filter by firstName', () => {
Expand All @@ -147,12 +147,12 @@ describe('Dataset Publication', () => {

cy.get('[data-rowindex=0]', { timeout: 3000 }).should(
'contains.text',
['1', '"Bobby"', '"Womack"', 'true'].join(''),
['"1"', '"Bobby"', '"Womack"', 'true'].join(''),
);

cy.get('[data-rowindex=1]', { timeout: 3000 }).should(
'contains.text',
['4', '"Rob"', '"Zombie"', 'false'].join(''),
['"4"', '"Rob"', '"Zombie"', 'false'].join(''),
);
});
it('should filter by boolean', () => {
Expand All @@ -173,12 +173,12 @@ describe('Dataset Publication', () => {

cy.get('[data-rowindex=0]', { timeout: 3000 }).should(
'contains.text',
['1', '"Bobby"', '"Womack"', 'true'].join(''),
['"1"', '"Bobby"', '"Womack"', 'true'].join(''),
);

cy.get('[data-rowindex=1]', { timeout: 3000 }).should(
'contains.text',
['2', '"Alain"', '"Chabat"', 'true'].join(''),
['"2"', '"Alain"', '"Chabat"', 'true'].join(''),
);
});
});
Expand Down

0 comments on commit 2a503e5

Please sign in to comment.