Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Haprog/update supported browsers #548

Merged
merged 5 commits into from
Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,25 @@ router.setRoutes([
```

## Browser support

A specific version of Vaadin Router supports the same browsers as the Vaadin platform major version which includes that version of Vaadin Router.
See [Vaadin platform release notes](https://github.com/vaadin/platform/releases) for details on included Vaadin Router version and supported technologies.
The Supported Technologies section is typically listed in the release notes of the first publicly available release of a Vaadin platform major version
(for example [Vaadin 18.0.1](https://github.com/vaadin/platform/releases/tag/18.0.1) since 18.0.0 was skipped).

### Desktop browsers

Evergreen versions of the following browsers
- Chrome, Firefox, Firefox ESR, Safari and Edge (Chromium)

### Mobile browsers

Built-in browsers in the following mobile operating systems:
- Safari starting from iOS 13 (Safari 13 or newer)
- Google Chrome evergreen on Android (requiring Android 4.4 or newer)

### Sauce Labs test status

[![Sauce Test Status](https://saucelabs.com/browser-matrix/vaadin-router.svg)](https://saucelabs.com/u/vaadin-router)

### Big Thanks
Expand Down
17 changes: 8 additions & 9 deletions wct.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ module.exports = {
{
deviceName: 'Android GoogleAPI Emulator',
platformName: 'Android',
platformVersion: '10.0',
platformVersion: '11.0',
browserName: 'chrome',
browserVersion: 'latest'
},
{
deviceName: 'Android GoogleAPI Emulator',
platformName: 'Android',
platformVersion: '9.0',
platformVersion: '10.0',

Choose a reason for hiding this comment

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

Sauce Labs has sent an email claiming that ACTION REQUIRED for the vaadin-router testing config. This may be relevant here:

Hello,

Sauce Labs is scheduling to update Android 10 to a newer browser version of Chrome on Monday, February 22nd, 2021. The update will take Chrome from version 74 to version 86. Testing on this version of Chrome and all subsequent versions will primarily support the W3C WebDriver protocol.

In order to continue testing with Android 10, users are REQUIRED to make changes to their WebDriver capabilities. To prepare for this update, we recommend that you create a new version of your test scripts that include the W3C capabilities and on February 22nd, replace your existing script with this updated version.

To ensure that you do not have any downtime, please update your current tests. If you are unable to update your tests to be W3C compliant yet, please review our example below for setting W3C capabilities to false. For help, view the W3C documentation.

Code Example:

Before (JSONWP):

{
      "browserName": "chrome",
      "deviceName": "Android GoogleAPI Emulator",
      "platformName": "Android",
      "platformVersion": "10.0",
      "automationName": "UiAutomator2",
      "appiumVersion": "1.18.1",
      "name": "Appium JSONWP Test"
},

After (W3C):

{
      "browserName": "chrome",
      "appium:deviceName": "Android GoogleAPI Emulator",
      "platformName": "Android",
      "appium:platformVersion": "10.0",
      "automationName": "UiAutomator2",
      "sauce:options": {
            "appiumVersion": "1.18.1",
            "name": "Appium W3C Test"
      }
}

Or, IF you are unable to enable W3C by then and still want to use the old JSONWP in combination with the latest version of ChromeDriver you can add the following to your capabilities below. Please note that when Selenium 4 is released the chance will be very high that browser-vendors will remove the old JSONWP from their drivers which eventually will break your tests.

{
      "browserName": "chrome",
      "deviceName": "Android GoogleAPI Emulator",
      "platformName": "Android",
      "platformVersion": "10.0",
      "automationName": "UiAutomator2",
      "appiumVersion": "1.18.1",
      "name": "Appium JSONWP W3C False Test"
      "goog:chromeOptions": {
            "w3c": false
      }
},

In addition, we plan to update the default version of Appium for Android 10 from 1.8.0 to 1.18.0. This will unlock features and capabilities available on the newer version. If Appium 1.8.0 is still required for testing, it can be specified within the capabilities. We will release a blog update when the update is live to minimize the impact this may have on your work.

If you have questions or need assistance, please contact our Support team at support@saucelabs.com.

Happy Testing!

Sauce Labs

Copy link
Contributor Author

@Haprog Haprog Feb 1, 2021

Choose a reason for hiding this comment

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

Thanks. The way I read it is we can't move to the new W3C Test yet but should do it on/after Feb 22nd. I think we can keep this part as is for now and update it later when/if it breaks. But good that you noticed this, now we're aware that this change is coming and not surprised if this test breaks later this month. :)

browserName: 'chrome',
browserVersion: 'latest-1'
},
Expand All @@ -29,23 +29,22 @@ module.exports = {
'Windows 10/firefox@latest',
'Windows 10/firefox@latest-1',

// last Firefox ESR version (desktop)
// SauceLabs doesn't have ESR versions so testing
// the regular release of the same major version here
'Windows 10/firefox@78.0',

// last 2 Edge major versions (desktop)
'Windows 10/microsoftedge@latest',
'Windows 10/microsoftedge@latest-1',

// last 2 Safari major versions (desktop)
'macOS 11.00/safari@latest',
'macOS 10.15/safari@latest',
'macOS 10.14/safari@latest',

// last 2 iOS major versions (mobile Safari)
'iOS Simulator/iphone@latest',
'iOS Simulator/iphone@latest-1',

// Safari 9 on desktop and mobile
'OS X 10.11/safari@9.0',

// IE11
'Windows 7/internet explorer@11',
];
}

Expand Down