Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinejaussoin committed Nov 7, 2024
1 parent e8a5783 commit e31b544
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 181 deletions.
3 changes: 3 additions & 0 deletions integration/cypress/e2e/test.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ describe('Post workflow', () => {
it('Should allow to login as anonymous and write a post', () => {
cy.visit('/');

// Wait for the page to load (and the server to be ready)
cy.get('#content').get('h1', { timeout }).should('contain', 'Welcome!');

// Login anonymously
get('login-anonymous').click();

Expand Down
4 changes: 2 additions & 2 deletions integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"author": "Antoine Jaussoin",
"license": "ISC",
"devDependencies": {
"cypress": "^12.17.2"
"cypress": "^13.15.2"
},
"dependencies": {
"typescript": "^5.1.6"
"typescript": "^5.6.3"
}
}
Loading

0 comments on commit e31b544

Please sign in to comment.