Skip to content

chore: drop ie11 support from babel/swc and e2e tests - #7113

Draft
shaejaz wants to merge 8 commits into
masterfrom
chore/drop-ie11-babel
Draft

chore: drop ie11 support from babel/swc and e2e tests#7113
shaejaz wants to merge 8 commits into
masterfrom
chore/drop-ie11-babel

Conversation

@shaejaz

@shaejaz shaejaz commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes.

@pkg-pr-new

pkg-pr-new Bot commented Jul 14, 2026

Copy link
Copy Markdown
More templates

algoliasearch-helper

npm i https://pkg.pr.new/algolia/instantsearch/algoliasearch-helper@7113

instantsearch-ui-components

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch-ui-components@7113

instantsearch.css

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch.css@7113

instantsearch.js

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch.js@7113

react-instantsearch

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch@7113

react-instantsearch-core

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-core@7113

react-instantsearch-nextjs

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-nextjs@7113

react-instantsearch-router-nextjs

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-router-nextjs@7113

vue-instantsearch

npm i https://pkg.pr.new/algolia/instantsearch/vue-instantsearch@7113

commit: cd6c8b4

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes legacy IE11 support across the monorepo by switching build targets to modern defaults and deleting the WebdriverIO/Sauce Labs E2E stack in favor of Playwright-only E2E coverage.

Changes:

  • Drop IE11 as an explicit compilation/stylelint target (Babel, SWC, stylelint, Browserslist templates/examples).
  • Remove WebdriverIO/Sauce Labs E2E configs, helpers, and CI jobs; keep Playwright as the sole E2E framework.
  • Clean up Vue InstantSearch internal polyfill usage by replacing _objectSpread with native object spread / Object.assign.

Reviewed changes

Copilot reviewed 74 out of 78 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
yarn.lock Removes WDIO/Sauce-related dependency graph entries after E2E stack deletion.
tests/e2e/wdio.saucelabs.conf.js Deletes Sauce Labs WDIO configuration (incl. IE11 capability).
tests/e2e/wdio.local.conf.js Deletes local WDIO configuration.
tests/e2e/wdio.base.conf.js Deletes shared WDIO base config (static server + Jasmine setup).
tests/e2e/tsconfig.json Deletes WDIO-era TS config (webdriverio/jasmine types).
tests/e2e/specs/price-range.spec.ts Removes WDIO spec (superseded by Playwright suite).
tests/e2e/specs/pagination.spec.ts Removes WDIO spec (superseded by Playwright suite).
tests/e2e/specs/initial-state-from-route.spec.ts Removes WDIO spec (superseded by Playwright suite).
tests/e2e/specs/category.spec.ts Removes WDIO spec (superseded by Playwright suite).
tests/e2e/specs/brand-and-query.spec.ts Removes WDIO spec (superseded by Playwright suite).
tests/e2e/README.md Updates E2E docs to Playwright-only and new run instructions.
tests/e2e/playwright/tsconfig.json Tightens TS config for Playwright-only type-checking.
tests/e2e/package.json Removes WDIO/Jasmine deps and switches type-check to Playwright tsconfig.
tests/e2e/index.js Removes exported WDIO configs (local/saucelabs).
tests/e2e/helpers/waitForElement.ts Removes WDIO custom command helper.
tests/e2e/helpers/setSortByValue.ts Removes WDIO custom command helper.
tests/e2e/helpers/setSearchBoxValue.ts Removes WDIO custom command helper.
tests/e2e/helpers/setHitsPerPage.ts Removes WDIO custom command helper.
tests/e2e/helpers/selectors.ts Removes WDIO selector helper module.
tests/e2e/helpers/index.ts Removes WDIO helper registration entrypoint.
tests/e2e/helpers/getToggleRefinementStatus.ts Removes WDIO custom command helper.
tests/e2e/helpers/getTextFromSelector.ts Removes WDIO custom command helper.
tests/e2e/helpers/getSortByValue.ts Removes WDIO custom command helper.
tests/e2e/helpers/getSelectedRefinementListItem.ts Removes WDIO custom command helper.
tests/e2e/helpers/getSelectedRatingMenuItem.ts Removes WDIO custom command helper.
tests/e2e/helpers/getSelectedHierarchicalMenuItems.ts Removes WDIO custom command helper.
tests/e2e/helpers/getSearchBoxValue.ts Removes WDIO custom command helper.
tests/e2e/helpers/getRangeSliderUpperBoundValue.ts Removes WDIO custom command helper.
tests/e2e/helpers/getRangeSliderLowerBoundValue.ts Removes WDIO custom command helper.
tests/e2e/helpers/getHitsTitles.ts Removes WDIO custom command helper.
tests/e2e/helpers/getHitsPerPage.ts Removes WDIO custom command helper.
tests/e2e/helpers/getCurrentPage.ts Removes WDIO custom command helper.
tests/e2e/helpers/dragRangeSliderUpperBoundTo.ts Removes WDIO drag helper (IE-focused URL-waiting).
tests/e2e/helpers/dragRangeSliderLowerBoundTo.ts Removes WDIO drag helper (IE-focused URL-waiting).
tests/e2e/helpers/dragAndDropByOffset.ts Removes WDIO drag-and-drop workaround helper.
tests/e2e/helpers/clickToggleRefinement.ts Removes WDIO click helper.
tests/e2e/helpers/clickRefinementListItem.ts Removes WDIO click helper.
tests/e2e/helpers/clickRatingMenuItem.ts Removes WDIO click helper.
tests/e2e/helpers/clickPreviousPage.ts Removes WDIO pagination helper.
tests/e2e/helpers/clickPage.ts Removes WDIO pagination helper.
tests/e2e/helpers/clickNextPage.ts Removes WDIO pagination helper.
tests/e2e/helpers/clickHierarchicalMenuItem.ts Removes WDIO click helper.
tests/e2e/helpers/clickClearRefinements.ts Removes WDIO clear-refinements helper.
tests/e2e/flavors.js Removes WDIO flavor filtering logic (incl. IE11-only JS flavors).
tests/e2e/CONTRIBUTING.md Updates contributor docs to Playwright-only workflow.
tests/e2e/all-flavors.spec.ts Removes WDIO suite aggregator.
scripts/wdio/saucelabs.conf.js Removes root WDIO Sauce Labs entrypoint.
scripts/wdio/local.conf.js Removes root WDIO local entrypoint.
scripts/build/rollup.plugins.mjs Updates SWC env targets from ie >= 11 to defaults.
packages/vue-instantsearch/src/util/polyfills.js Deletes _objectSpread polyfill file.
packages/vue-instantsearch/src/util/createInstantSearchComponent.js Replaces _objectSpread usage with native object spread.
packages/vue-instantsearch/src/mixins/widget.js Replaces _objectSpread usage with Object.assign.
packages/vue-instantsearch/src/connectors/connectStateResults.js Replaces _objectSpread copies with native object spread.
packages/vue-instantsearch/src/components/StateResults.vue Replaces _objectSpread usage with native object spread.
packages/vue-instantsearch/src/components/DynamicWidgets.js Replaces _objectSpread usage with plain object literals.
packages/react-instantsearch-router-nextjs/package.json Removes test:e2e:saucelabs script alias.
packages/react-instantsearch-router-nextjs/e2e.d.ts Removes WDIO/Jasmine type references.
packages/react-instantsearch-nextjs/package.json Removes test:e2e:saucelabs script alias.
packages/instantsearch.js/src/lib/routers/history.ts Updates comment to remove IE11 rationale and clarify origin rebuild.
packages/instantsearch.css/.stylelintrc.json Removes ie 11 from unsupported-feature browser list.
packages/create-instantsearch-app/src/templates/Vue InstantSearch/package.json Updates Browserslist template away from legacy IE exclusions.
packages/create-instantsearch-app/src/templates/InstantSearch.js widget/package.json.hbs Removes IE 11 from template Browserslist.
packages/create-instantsearch-app/e2e/snapshots/templates.test.js.snap Updates snapshots to match template Browserslist changes.
package.json Removes WDIO-based E2E scripts and WDIO devDependencies.
examples/vue/ssr/.browserslistrc Updates example Browserslist away from IE-era config.
examples/vue/media/package.json Removes IE11 from example Browserslist string.
examples/vue/getting-started/package.json Removes IE11 from example Browserslist string.
examples/vue/e-commerce/package.json Removes IE11 from example Browserslist string.
examples/vue/default-theme/package.json Removes IE11 from example Browserslist string.
examples/js/e-commerce/index.html Removes polyfills.js script include.
examples/js/e-commerce-umd/index.html Removes polyfills.js script include.
CONTRIBUTING.md Updates repo-wide E2E documentation to Playwright-only commands.
babel.config.js Switches Storybook preset-env target from IE11 to defaults.
.oxlintrc.json Removes WDIO/Jasmine-specific lint overrides; keeps E2E override for Playwright folder.
.claude/rules/e2e.md Updates internal E2E guide to state Playwright-only and removes IE11 section.
.circleci/config.yml Removes the IE11 E2E job from workflows and job definitions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/CONTRIBUTING.md Outdated

@Haroenv Haroenv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

#6422 should be the base

Comment thread .claude/rules/e2e.md Outdated
import { createPaginationTestSuite } from './specs/pagination.spec';
import { createPriceRangeTestSuite } from './specs/price-range.spec';

getFilteredFlavors(browser).forEach((flavor) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do these tests all have equivalents in playwright?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, they exist in the tests/e2e/playwright/specs/ dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants