Skip to content

Commit

Permalink
fix(tests): Expect request fields to be equal to test fields
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody committed Aug 6, 2024
1 parent d9f454e commit f556588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/templates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ describe('Create templates with fields', () => {
cy.intercept('POST', '**/templates/create', (req) => {
const templateFields = Object.values(req.body.templateFields)

templateFields[0].content = fields[0].content
templateFields[1].content = fields[1].content
expect(templateFields[0].content).to.equal(fields[0].content)
expect(templateFields[1].content).to.equal(fields[1].content)

req.continue()
}).as('reqFillFields')
Expand Down

0 comments on commit f556588

Please sign in to comment.