Skip to content

Conversation

@aslushnikov
Copy link
Contributor

This patch:

  • starts downloading Firefox Stable equivalent by default
  • starts running Firefox-Stable on our smoke tests (tests-1)
  • starts running Firefox-Beta on our CQ1 tests (tests-2)

Note: there's a little confusion right now with browser names:

  • firefox-stable - firefox-stable equivalent
  • firefox- firefox-beta equivalent

I'll rename firefox to firefox-beta in a follow-up.

Fixes #6817

@aslushnikov aslushnikov force-pushed the switch-to-ff-stable-by-default branch 2 times, most recently from f96c902 to f0b6782 Compare June 7, 2021 08:49
- uses: actions/setup-node@v2
with:
node-version: 12
- uses: microsoft/playwright-github-action@v1
Copy link
Contributor

Choose a reason for hiding this comment

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

Not related to this PR: We use microsoft/playwright-github-action in quite a few other places in this repository. Can we fully remove it from the repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yess good point

this._playwrightOptions = playwrightOptions;
this._name = browserName;
this._name = name;
this._binaryName = binaryName;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I'm not a huge fan of _binaryName. Maybe:

  • _name -> _baseBrowserName
  • _binaryName -> _browserName

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The word "browser" is very overloaded, so I'd prefer to have distinct names for distinct entities.

To elaborate: both //src/utils/registry.ts and playwright servers //src/server/browserType.ts use word "browser" here and there, yet these are two very different things:

  • in playwright servers, "browser" means the browser interface we use to communicate. So we have "chromium" for CDP, "webkit" for WebInspector Remote Debugging Protocol, and "firefox" for juggler. These all are "browsers".
  • in registry, "browser" means an entity that we download from our CDN. Originally we were only downloading browsers, but we now have FFMPEG and we are considering moving WinLDD there as well.

If we were to start over, we'd establish some other terminology for the registry that doesn't include name "browser" - "binary" seems to be fine since it's distinct enough and is not overused around the codebase.

@aslushnikov aslushnikov added the CQ1 label Jun 7, 2021
This patch:
- starts downloading Firefox Stable equivalent by default
- starts running Firefox-Stable on our smoke tests (tests-1)
- starts running Firefox-Beta on our CQ1 tests (tests-2)

Note: there's a little confusion right now with browser names:
- `firefox-stable` - firefox-stable equivalent
- `firefox`- firefox-beta equivalent

I'll rename `firefox` to `firefox-beta` in a follow-up.

Fixes microsoft#6817
@aslushnikov aslushnikov force-pushed the switch-to-ff-stable-by-default branch from 6343ddb to 1e6a200 Compare June 7, 2021 20:34
@aslushnikov aslushnikov added CQ1 and removed CQ1 labels Jun 7, 2021
@aslushnikov aslushnikov merged commit a1e8d2d into microsoft:master Jun 7, 2021
@aslushnikov aslushnikov deleted the switch-to-ff-stable-by-default branch June 7, 2021 22:00
aslushnikov added a commit to aslushnikov/playwright that referenced this pull request Jun 7, 2021
)

This patch:
- starts downloading Firefox Stable equivalent by default
- starts running Firefox-Stable on our smoke tests (tests-1)
- starts running Firefox-Beta on our CQ1 tests (tests-2)

Note: there's a little confusion right now with browser names:
- `firefox-stable` - firefox-stable equivalent
- `firefox`- firefox-beta equivalent

I'll rename `firefox` to `firefox-beta` in a follow-up.

Fixes microsoft#6817
aslushnikov added a commit to aslushnikov/playwright that referenced this pull request Jun 7, 2021
…rosoft#6926)"

This reverts commit a25b116.

In a discussion with Dmitry Gozman we decided to revert this and instead
proceed with the following approach:
- rename `//browser_patches/firefox` to `//browser_patches/firefox-beta`
- rename `//browser_patches/firefox-stable` folder to
  `//browser_patches/firefox`

In all of the folders, we will keep the `BUILD_NUMBER` original so that
it doesn't clash on the CDN.
aslushnikov added a commit to aslushnikov/playwright that referenced this pull request Jun 7, 2021
…rosoft#6926)"

This reverts commit a25b116.

In a discussion with Dmitry Gozman we decided to revert this and instead
proceed with the following approach:
- rename `//browser_patches/firefox` to `//browser_patches/firefox-beta`
- rename `//browser_patches/firefox-stable` folder to
  `//browser_patches/firefox`

In all of the folders, we will keep the `BUILD_NUMBER` original so that
it doesn't clash on the CDN.
aslushnikov added a commit that referenced this pull request Jun 7, 2021
…)" (#6947)

This reverts commit a25b116.

In a discussion with Dmitry Gozman we decided to revert this and instead
proceed with the following approach:
- rename `//browser_patches/firefox` to `//browser_patches/firefox-beta`
- rename `//browser_patches/firefox-stable` folder to
  `//browser_patches/firefox`

In all of the folders, we will keep the `BUILD_NUMBER` original so that
it doesn't clash on the CDN.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] roll Firefox to 89 and switch to it

2 participants