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

fix(FEC-13371): Add Firefox to karam #229

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9d82e47
build(FEC-13273): Refactor webpack configuration Remove IE support an…
Jul 13, 2023
640a5e1
update yarn.lock
Jul 13, 2023
ce2c2da
Merge branch 'master' into FEC-13273
Nov 7, 2023
4aef62e
feat(FEC-13371): Refactor: Migration from flow to TypeScript
Nov 7, 2023
2aaf920
change node version on yaml conf
Nov 7, 2023
0d2f74c
fix lint
Nov 7, 2023
47b9955
typescript configurd TS scripts including types:build work
Nov 8, 2023
24bc3e1
TS webapck compiles succssfully
Nov 8, 2023
9e3f49c
entities & utils folders complete
Nov 8, 2023
9ce578d
ott complet
Nov 8, 2023
b778df3
ovp services + partial response-type
Nov 8, 2023
57005fa
types complete lint complete
Nov 9, 2023
2f74ade
restore js/flow loader for test dir
Nov 9, 2023
be45b40
fix karma conf - launcher chrome
Nov 9, 2023
77d3dd4
update types
Nov 13, 2023
7757e36
remove flow pacages
Dec 10, 2023
4476338
remove all useless pacs update yarn.lock
Dec 10, 2023
a9a3967
Merge branch 'master' into FEC-13371
Dec 10, 2023
4ac71e2
fix merged from master
Dec 10, 2023
272a934
split GitHub actions jobs
Dec 10, 2023
70fb715
add buld-types test jov
Dec 10, 2023
107837f
add type
Dec 19, 2023
6ed92cc
fix
Dec 19, 2023
1d1af4e
fix
Dec 19, 2023
f663fb9
clean p.json
Dec 19, 2023
c3b3a88
Merge branch 'master' into FEC-13371
Dec 19, 2023
d5592de
fix lint
Dec 19, 2023
d01d9ae
fix
Dec 19, 2023
68b1b1a
add browser list
Dec 25, 2023
1054bec
Merge remote-tracking branch 'origin/master' into FEC-13371
Dec 28, 2023
d67799b
fix(FEC-13371) Add Safari & Firefox for karma testing
Dec 28, 2023
79ce77f
fix
Dec 28, 2023
d4427cc
fix
Dec 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
test:
uses: kaltura/ovp-pipelines-pub/.github/workflows/player_tests.yaml@master
with:
run-on-macos: true
node-version: '20.x'
yarn-run-to-execute: 'test'
type-check:
Expand Down
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ module.exports = function (config) {
webpack: webpackConfig,
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
logLevel: config.LOG_DEBUG,
autoWatch: false,
customLaunchers: {
ChromeHeadlessWithFlags: {
base: 'ChromeHeadless',
flags: ['--no-sandbox', '--autoplay-policy=no-user-gesture-required', '--mute-audio', '--max-web-media-player-count=1000']
}
},
browsers: ['ChromeHeadlessWithFlags'],
browsers: ['ChromeHeadlessWithFlags', 'Safari', 'FirefoxHeadless'],
singleRun: true,
concurrency: Infinity,

Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@
"prettier:fix": "prettier --write ."
},
"devDependencies": {
"@microsoft/api-extractor": "^7.38.0",
"@babel/cli": "^7.10.1",
"@babel/core": "^7.21.8",
"@babel/preset-typescript": "^7.22.15",
"typescript": "^5.2.2",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.22.15",
"@microsoft/api-extractor": "^7.38.0",
"@playkit-js/browserslist-config": "^1.0.5",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"chai": "^4.2.0",
"eslint": "8.22.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-mocha-no-only": "^1.1.0",
Expand All @@ -60,8 +60,7 @@
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage": "^2.0.2",
"karma-firefox-launcher": "^1.3.0",
"karma-ie-launcher": "^1.0.0",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-launcher": "^1.0.0",
Expand All @@ -74,10 +73,10 @@
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"standard-version": "^6.0.1",
"typescript": "^5.2.2",
"webpack": "^5.83.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"@playkit-js/browserslist-config": "^1.0.5"
"webpack-dev-server": "^4.15.0"
},
"browserslist": [
"extends @playkit-js/browserslist-config"
Expand Down
22 changes: 8 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4261,7 +4261,7 @@ is-weakref@^1.0.2:
dependencies:
call-bind "^1.0.2"

is-wsl@^2.1.0, is-wsl@^2.2.0:
is-wsl@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
Expand Down Expand Up @@ -4478,19 +4478,13 @@ karma-coverage@^2.0.2:
istanbul-reports "^3.0.5"
minimatch "^3.0.4"

karma-firefox-launcher@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-1.3.0.tgz#ebcbb1d1ddfada6be900eb8fae25bcf2dcdc8171"
integrity sha512-Fi7xPhwrRgr+94BnHX0F5dCl1miIW4RHnzjIGxF8GaIEp7rNqX7LSi7ok63VXs3PS/5MQaQMhGxw+bvD+pibBQ==
dependencies:
is-wsl "^2.1.0"

karma-ie-launcher@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/karma-ie-launcher/-/karma-ie-launcher-1.0.0.tgz#497986842c490190346cd89f5494ca9830c6d59c"
integrity sha512-ts71ke8pHvw6qdRtq0+7VY3ANLoZuUNNkA8abRaWV13QRPNm7TtSOqyszjHUtuwOWKcsSz4tbUtrNICrQC+SXQ==
karma-firefox-launcher@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-2.1.2.tgz#9a38cc783c579a50f3ed2a82b7386186385cfc2d"
integrity sha512-VV9xDQU1QIboTrjtGVD4NCfzIH7n01ZXqy/qpBhnOeGVOkG5JYPEm8kuSd7psHE6WouZaQ9Ool92g8LFweSNMA==
dependencies:
lodash "^4.6.1"
is-wsl "^2.2.0"
which "^2.0.1"

karma-mocha-reporter@^2.2.5:
version "2.2.5"
Expand Down Expand Up @@ -4707,7 +4701,7 @@ lodash.templatesettings@^4.0.0:
dependencies:
lodash._reinterpolate "^3.0.0"

lodash@^4.17.15, lodash@^4.17.21, lodash@^4.2.1, lodash@^4.6.1, lodash@~4.17.15:
lodash@^4.17.15, lodash@^4.17.21, lodash@^4.2.1, lodash@~4.17.15:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
Expand Down
Loading