-
-
Notifications
You must be signed in to change notification settings - Fork 205
feat: support Har recording option (#253) #268
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
feat: support Har recording option (#253) #268
Conversation
3f3e47a
to
d0c179c
Compare
} | ||
|
||
func (p *pageImpl) Video() Video { | ||
p.Lock() |
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.
This isn't related to the issue #253, but for race condition detected in a CI test.
https://github.com/playwright-community/playwright-go/runs/6224590861
bb34ab2
to
6271693
Compare
- name: Cache modules and build | ||
uses: actions/cache@v3 | ||
with: | ||
# In order: | ||
# * Module download cache | ||
# * Build cache (Linux) | ||
# * Build cache (Mac) | ||
# * Build cache (Windows) | ||
path: | | ||
~/go/pkg/mod | ||
~/.cache/go-build | ||
~/Library/Caches/go-build | ||
%LocalAppData%\go-build | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Download modules | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: go mod download |
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.
Some tests on github actions are randomly failed because of timed out of test execution.
I tried to fix them but I didn't find out the root cause, and even now I don't know any solution.
My trials were extending test executing time and caching dependencies, and unfortunately both of them were ineffective.
But I think caching is valuable so the cache setting is remained.
This implementation adds support for Har recording option.
Related issue is #253.