-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smaller changes, also undo of breaking change in PR #69 #76
Conversation
web/frontend/tests/navbar.spec.ts
Outdated
@@ -46,7 +47,7 @@ test('Assert admin user HAR files are up-to-date', async({ page }) => { | |||
test('Assert cookie is set', async({ page }) => { | |||
test.skip(UPDATE === true, 'Do not run regular tests when updating HAR files'); | |||
const cookies = await page.context().cookies(); | |||
expect(cookies.find(cookie => cookie.name === 'connect.sid')).toBeTruthy(); | |||
await expect(cookies.find(cookie => cookie.name === 'connect.sid')).toBeTruthy(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder whether that was why it failed before on my ocmputer? But there might be another async hidden somewhere.
web/frontend/tests/tsconfig.json
Outdated
"skipLibCheck": true, | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if you set this to true
? That's the interesting option!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copy-pasted the config from the "main" project, I will test that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed it, not much change for the moment, though that might be because I ran the linter and fixed everything beforehand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Some smaller changes and an undo