Skip to content

Commit

Permalink
Logging for Join the CSSN test
Browse files Browse the repository at this point in the history
  • Loading branch information
a-pasquale committed Jan 8, 2025
1 parent c2cb097 commit 207058a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ describe("Authenticated user tests the form to join the CSSN", () => {

// Check the community persona to see if the program/region was added.
cy.visit("/community-persona");
const institution = cy.get(".persona .institution")
cy.log(institution.text())
const d = cy.get(".persona .institution + div")
cy.log(d.text())
const p = cy.get(".persona .institution + div > p")
cy.log(p.text())
// Check that CSSN member is displayed on community persona.
cy.get(".persona .institution + div > p > strong").contains("CSSN Member")
// Check that the affinity group was flagged.
Expand Down

0 comments on commit 207058a

Please sign in to comment.