Skip to content

Commit

Permalink
chore: bump test platform to Safari/iOS 16 - 18 (#1221)
Browse files Browse the repository at this point in the history
* chore: bump test platform to iOS 18

* chore: bump test platform to macOS 15
  • Loading branch information
wattachai-lseg authored Sep 30, 2024
1 parent bbcd5e3 commit d04068e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions browsers.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const BrowserStack = {
...DefaultMobileBrowsers,
'chrome_minus1',
'chrome_minus2',
'safari_minus2',
'firefox_minus1',
'firefox_minus2',
'android_minus1',
Expand All @@ -38,7 +37,7 @@ BrowserStack.availableBrowsers = [...BrowserStack.supportedBrowsers, ...BrowserS
// base platform config
const deviceConfig = { real_mobile: 'true' };
const windowsConfig = { os: 'Windows', os_version: '11' };
const macOSConfig = { os: 'OS X', os_version: 'Sonoma' };
const macOSConfig = { os: 'OS X', os_version: 'Sequoia' };

// BrowserStack Browsers Config
BrowserStack.config = {
Expand All @@ -52,16 +51,16 @@ BrowserStack.config = {
chrome_minus1: { ...windowsConfig, browser: 'chrome', browser_version: 'latest-1' },
firefox_minus1: { ...windowsConfig, browser: 'firefox', browser_version: 'latest-1' },
edge_minus1: { ...windowsConfig, browser: 'edge', browser_version: 'latest-1' },
safari_minus1: { ...macOSConfig, browser: 'safari', os_version: 'Ventura' },
safari_minus1: { ...macOSConfig, browser: 'safari', os_version: 'Sonoma' },

// minus2 versions
chrome_minus2: { ...windowsConfig, browser: 'chrome', browser_version: 'latest-2' },
firefox_minus2: { ...windowsConfig, browser: 'firefox', browser_version: 'latest-2' },
edge_minus2: { ...windowsConfig, browser: 'edge', browser_version: 'latest-2' },
safari_minus2: { ...macOSConfig, browser: 'safari', os_version: 'Monterey' },
safari_minus2: { ...macOSConfig, browser: 'safari', os_version: 'Ventura' },

// Mobile Devices
ios: { ...deviceConfig, browser: 'iphone', device: 'iPhone 15 Pro', os: 'ios', os_version: '17' },
ios: { ...deviceConfig, browser: 'iphone', device: 'iPhone 16 Pro', os: 'ios', os_version: '18' },
android: {
...deviceConfig,
browser: 'android',
Expand All @@ -71,7 +70,7 @@ BrowserStack.config = {
},

// Mobile Devices minus1 versions
ios_minus1: { ...deviceConfig, browser: 'iphone', device: 'iPhone 14 Pro', os: 'ios', os_version: '16' },
ios_minus1: { ...deviceConfig, browser: 'iphone', device: 'iPhone 15 Pro', os: 'ios', os_version: '17' },
android_minus1: {
...deviceConfig,
browser: 'android',
Expand All @@ -81,7 +80,7 @@ BrowserStack.config = {
},

// Mobile Devices minus2 versions
ios_minus2: { ...deviceConfig, browser: 'iphone', device: 'iPhone 13 Pro', os: 'ios', os_version: '15' },
ios_minus2: { ...deviceConfig, browser: 'iphone', device: 'iPhone 14 Pro', os: 'ios', os_version: '16' },
android_minus2: {
...deviceConfig,
browser: 'android',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ describe('tree-select/Filter', function () {
await elementUpdated(el);

const noChildren = 0;
expect(el.children.length).to.equal(
expect(treeEl.children.length).to.equal(
noChildren,
`there should be ${noChildren} child(ren) with the provided custom filter & query of ${query}`
);
Expand Down

0 comments on commit d04068e

Please sign in to comment.