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

Add playwright #1119

Merged
merged 7 commits into from
Nov 1, 2022
Merged

Add playwright #1119

merged 7 commits into from
Nov 1, 2022

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Oct 28, 2022

Part of #975
Part of #1061

@lukaw3d lukaw3d requested review from buberdds and csillag October 28, 2022 00:00
@github-actions
Copy link

github-actions bot commented Oct 28, 2022

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 1 0 0.09s
✅ EDITORCONFIG editorconfig-checker 8 0 0.02s
✅ JSON eslint-plugin-jsonc 1 0 0 0.94s
✅ JSON jsonlint 1 0 0.26s
✅ JSON prettier 1 0 0 0.56s
✅ JSON v8r 1 0 5.93s
✅ MARKDOWN markdownlint 1 0 0 0.37s
✅ MARKDOWN markdown-table-formatter 1 0 0 0.28s
✅ REPOSITORY checkov yes no 15.03s
✅ REPOSITORY git_diff yes no 0.0s
✅ TYPESCRIPT eslint 3 0 0 6.27s
✅ YAML prettier 1 0 0 0.84s
✅ YAML v8r 1 0 2.01s
✅ YAML yamllint 1 0 0.28s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@lukaw3d lukaw3d force-pushed the lw/playwright branch 4 times, most recently from c08038c to a98c506 Compare October 28, 2022 00:29
Comment on lines 69 to 72
- run: yarn install --frozen-lockfile
working-directory: playwright
- run: npx playwright install --with-deps
working-directory: playwright
Copy link
Member Author

Choose a reason for hiding this comment

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

Note, after yarn install playwright needs more steps to start working https://playwright.dev/docs/cli#install-system-dependencies

Comment on lines +1 to +8
{
"scripts": {
"test": "playwright test"
},
"devDependencies": {
"@playwright/test": "1.27.1"
}
}
Copy link
Member Author

Choose a reason for hiding this comment

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

It is isolated in a separate folder for now

.github/workflows/build-test.yaml Outdated Show resolved Hide resolved
playwright/tests/extension.spec.ts Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #1119 (81d9940) into master (b440095) will increase coverage by 0.22%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1119      +/-   ##
==========================================
+ Coverage   83.68%   83.90%   +0.22%     
==========================================
  Files         121      121              
  Lines        2249     2249              
  Branches      539      539              
==========================================
+ Hits         1882     1887       +5     
+ Misses        367      362       -5     
Flag Coverage Δ
cypress 51.80% <ø> (ø)
jest 77.19% <ø> (+0.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/app/state/transaction/saga.ts 68.79% <0.00%> (+0.70%) ⬆️
src/app/state/transaction/index.ts 94.28% <0.00%> (+11.42%) ⬆️

@lukaw3d
Copy link
Member Author

lukaw3d commented Nov 1, 2022

Merging this despite failed CI, because it accurately shows that production build on master is broken

@lukaw3d lukaw3d merged commit b355851 into master Nov 1, 2022
@lukaw3d lukaw3d deleted the lw/playwright branch November 1, 2022 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants