Skip to content
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

Merged
merged 9 commits into from
Dec 13, 2023
Merged

Conversation

PascalinDe
Copy link
Member

Some smaller changes and an undo

@PascalinDe PascalinDe requested a review from ineiti December 12, 2023 15:24
@PascalinDe PascalinDe self-assigned this Dec 12, 2023
@PascalinDe PascalinDe marked this pull request as draft December 12, 2023 15:44
@PascalinDe PascalinDe marked this pull request as ready for review December 12, 2023 16:15
@@ -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();
Copy link
Member

@ineiti ineiti Dec 12, 2023

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.

"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": false,
Copy link
Member

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!

Copy link
Member Author

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

Copy link
Member Author

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

@PascalinDe PascalinDe requested a review from ineiti December 13, 2023 08:34
Copy link
Member

@ineiti ineiti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PascalinDe PascalinDe merged commit 0863d1d into main Dec 13, 2023
11 checks passed
@PascalinDe PascalinDe deleted the playwright branch December 13, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants