Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
test: cookie name check was wrong (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinevo authored Sep 1, 2023
1 parent 1c6c8c9 commit 97d25e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
site: ["STAGING", "PROD"]
site: ["PROD"]
needs: publish-plugin
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ Cypress.Commands.add('roomEnter', (lobbyOnly = false) => {
"password": Cypress.env('TEAM_MEMBER_PASSWORD'),
"provider": "email_password"
}).then((response) => {
expect(response.status).to.eq(200)
expect(response.body).to.have.property('data')
cy.setCookie('refreshToken', response.body.data.refresh_token)
})

visit('/')
cy.getCookie('refresh_token').should('exist')
cy.getCookie('refreshToken').should('exist')


// Create session from event
Expand Down

0 comments on commit 97d25e9

Please sign in to comment.