Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

test: add End-2-End test suite #734

Merged
merged 1 commit into from
Oct 16, 2019
Merged

test: add End-2-End test suite #734

merged 1 commit into from
Oct 16, 2019

Conversation

yannickcr
Copy link
Contributor

@yannickcr yannickcr commented Oct 14, 2019

Summary

Same as algolia/instantsearch#4035 but for vue-instantsearch.

This PR makes the following changes:

  • Add algolia/instantsearch-e2e-tests as devDependency.
  • Add 2 WebdriverIO configurations: one to run tests locally and one to run them on Sauce Labs.
  • Fix e-commerce demo for IE11 (polyfills).
  • Add .env file to .gitignore so you can use it to store Sauce Labs credentials (see https://github.com/algolia/instantsearch-e2e-tests#credentials ).
  • Add npm scripts to run End-2-End tests:
    • test:e2e: Alias for test:e2e:local.
    • test:e2e:local: Run the test suite on Chrome browser on your local machine.
    • test:e2e:saucelabs: Run the test suite on multiple browsers on the Sauce Labs service.
  • Update CircleCI configuration
    • Add the new test_e2e task.

@yannickcr yannickcr force-pushed the test/e2e branch 2 times, most recently from 3bdc3d5 to 6e99c7c Compare October 15, 2019 15:12
@yannickcr yannickcr marked this pull request as ready for review October 16, 2019 12:57
@yannickcr yannickcr requested a review from a team October 16, 2019 12:57
@ghost ghost requested review from Haroenv and tkrugg and removed request for a team October 16, 2019 12:57
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

looks great, thanks!

@Haroenv Haroenv merged commit a8bdb35 into master Oct 16, 2019
@Haroenv Haroenv deleted the test/e2e branch October 16, 2019 15:02
Haroenv pushed a commit to algolia/instantsearch that referenced this pull request Dec 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants