Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

tests: run ChromeHeadless for integration test #2670

Merged
merged 7 commits into from
Dec 3, 2020
Merged

tests: run ChromeHeadless for integration test #2670

merged 7 commits into from
Dec 3, 2020

Conversation

straker
Copy link
Contributor

@straker straker commented Nov 30, 2020

Chrome is failing to start a lot and with no apparent reason as this was all working fine when running it as Grunt. This is a copied/pasted file that worked before but now fails. Trying this to see if it resolves the issues as suggested in various sites.

Going to cancel and rerun this build a couple of times to see if it's working consistently.

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@straker straker requested a review from a team as a code owner November 30, 2020 17:34
@straker
Copy link
Contributor Author

straker commented Dec 1, 2020

Alright. So after trying every combination of things suggested by the interwebs to fix this, the only thing that finally has worked consistently is to use chrome headless. I have stopped and restarted the job about 6 or 7 times now and it has yet to fail to start. I don't understand it but here we are.

@@ -4,7 +4,6 @@ var globby = require('globby');
var WebDriver = require('selenium-webdriver');
var chrome = require('selenium-webdriver/chrome');
var chromedriver = require('chromedriver');
var isCI = require('is-ci');
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like we can then drop this dependency.

@straker straker changed the title tests: fix? tests: run ChromeHeadless for integration test Dec 2, 2020
@straker straker merged commit a2161b2 into develop Dec 3, 2020
@straker straker deleted the chrome branch December 3, 2020 15:15
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.

2 participants