feedback
This commit is contained in:
parent
026d618fa1
commit
0508347a5f
9
.github/workflows/tests_bidi.yml
vendored
9
.github/workflows/tests_bidi.yml
vendored
|
|
@ -8,6 +8,7 @@ on:
|
|||
paths:
|
||||
- .github/workflows/tests_bidi.yml
|
||||
schedule:
|
||||
# Run every day at midnight
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
env:
|
||||
|
|
@ -26,15 +27,9 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
# TODO: add Firefox
|
||||
channel: [bidi-chrome-beta]
|
||||
channel: [bidi-chrome-stable]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install browser
|
||||
run: |
|
||||
if [[ ${{ matrix.channel }} == bidi-chrome-beta ]]; then
|
||||
curl -O https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
|
||||
sudo dpkg -i google-chrome-beta_current_amd64.deb
|
||||
fi
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
|
|
|||
|
|
@ -354,7 +354,7 @@ function readDescriptors(browsersJSON: BrowsersJSON) {
|
|||
|
||||
export type BrowserName = 'chromium' | 'firefox' | 'webkit' | 'bidi';
|
||||
type InternalTool = 'ffmpeg' | 'firefox-beta' | 'chromium-tip-of-tree' | 'android';
|
||||
type BidiChannel = 'bidi-firefox-stable' | 'bidi-chrome-canary' | 'bidi-chrome-beta';
|
||||
type BidiChannel = 'bidi-firefox-stable' | 'bidi-chrome-canary' | 'bidi-chrome-stable';
|
||||
type ChromiumChannel = 'chrome' | 'chrome-beta' | 'chrome-dev' | 'chrome-canary' | 'msedge' | 'msedge-beta' | 'msedge-dev' | 'msedge-canary';
|
||||
const allDownloadable = ['chromium', 'firefox', 'webkit', 'ffmpeg', 'firefox-beta', 'chromium-tip-of-tree'];
|
||||
|
||||
|
|
@ -530,10 +530,10 @@ export class Registry {
|
|||
'darwin': '/Applications/Firefox.app/Contents/MacOS/firefox',
|
||||
'win32': '\\Mozilla Firefox\\firefox.exe',
|
||||
}));
|
||||
this._executables.push(this._createBidiChannel('bidi-chrome-beta', {
|
||||
'linux': '/opt/google/chrome-beta/chrome',
|
||||
'darwin': '/Applications/Google Chrome Beta.app/Contents/MacOS/Google Chrome Beta',
|
||||
'win32': `\\Google\\Chrome Beta\\Application\\chrome.exe`,
|
||||
this._executables.push(this._createBidiChannel('bidi-chrome-stable', {
|
||||
'linux': '/opt/google/chrome/chrome',
|
||||
'darwin': '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
|
||||
'win32': `\\Google\\Chrome\\Application\\chrome.exe`,
|
||||
}));
|
||||
this._executables.push(this._createBidiChannel('bidi-chrome-canary', {
|
||||
'linux': '',
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ if (executablePath && !process.env.TEST_WORKER_INDEX)
|
|||
console.error(`Using executable at ${executablePath}`);
|
||||
const testIgnore: RegExp[] = [];
|
||||
const browserToChannels = {
|
||||
'_bidiChromium': ['bidi-chrome-beta'],
|
||||
'_bidiChromium': ['bidi-chrome-stable'],
|
||||
'_bidiFirefox': ['bidi-firefox-stable'],
|
||||
};
|
||||
for (const [key, channels] of Object.entries(browserToChannels)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue