Skip to content

Commit

Permalink
test: data type
Browse files Browse the repository at this point in the history
check data type in CI
  • Loading branch information
jlangy committed Jan 29, 2024
1 parent 4ed9525 commit 870e6c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Cypress.Commands.add('setid', (type?) => {
}
const data = Cypress.env('users');

cy.log(typeof data);

let foundItem = data.find((item) => item.type === type);
Cypress.env('username', foundItem.username);
Cypress.env('password', foundItem.password);
Expand Down

0 comments on commit 870e6c1

Please sign in to comment.