Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-06 | Try to reduce testing view port and unify it | Lin Jen-Shin | |
Hoping that we don't hit into Selenium::WebDriver::Error::NoSuchDriverError: invalid session id Again. | |||
2018-11-01 | Fix typos in comments and specs | George Tsiolis | |
2018-04-23 | Move spec helpers/matchers/shared examples/contexts to their relevant folder | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2018-04-13 | prefer &. to .try | Mike Greiling | |
2018-04-13 | remove --disable-gpu flag as it is no longer needed | Mike Greiling | |
2018-04-13 | display relevant browser console output whenever an integration test fails | Mike Greiling | |
2018-02-24 | prevent localStorage.clear from running when it would cause an error | Mike Greiling | |
2017-12-22 | Disable /dev/shm in CI | Stan Hu | |
According to the Chrome source code (https://chromium.googlesource.com/chromium/src/base/+/master/base_switches.cc#120): The /dev/shm partition is too small in certain VM environments, causing Chrome to fail or crash (see http://crbug.com/715363). Use this flag to work-around this issue (a temporary directory will always be used to create anonymous shared memory files). Addresses gitlab-org/gitlab-ee#4252 but doesn't appear to cure it completely. | |||
2017-11-29 | add logging back to capybara config and clean up selenium option instantiation | Mike Greiling | |
2017-11-01 | make window resizing more resiliant on small screens when headless mode is off | Mike Greiling | |
2017-11-01 | move resize option the pre-test hooks instead of post-test | Mike Greiling | |
2017-11-01 | reset browser window size between tests | Mike Greiling | |
2017-10-21 | add CHROME_HEADLESS environment variable to disable headless mode | Mike Greiling | |
2017-10-20 | clear localStorage after each capybara test (global) | Mike Greiling | |
2017-08-13 | Bump selenium-webdriver to 3.5.0 to make Capybara work properly | Stan Hu | |
2017-08-12 | Expand Chrome window size to make specs pass | Stan Hu | |
2017-08-03 | Merge branch 'master' into sh-headless-chrome-support | Stan Hu | |
2017-07-28 | Ensure Gitlab::Application.routes.default_url_options are set correctly in ↵ | Rémy Coutable | |
Capybara + :js specs Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-06-22 | Don't reset the session when the example failed, because we need ↵ | Douwe Maan | |
capybara-screenshot to have access to it | |||
2017-06-17 | Make Capybara::Screenshot work with headless Chrome | Stan Hu | |
2017-06-17 | Replace PhantomJS with headless Chrome for Rspec tests | Stan Hu | |
Closes #30876 | |||
2017-06-16 | Call Capybara.reset_sessions! before block_and_wait_for_requests_complete | Rémy Coutable | |
capybara/rspec already calls Capybara.reset_sessions! in an `after` hook, but `block_and_wait_for_requests_complete` is called before it so by calling it explicitely here, we prevent any new requests from being fired. See https://github.com/teamcapybara/capybara/blob/ffb41cfad620de1961bb49b1562a9fa9b28c0903/lib/capybara/rspec.rb#L20-L25 Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-06-12 | Let PhantomJS load local images | Rémy Coutable | |
This change fix a memory leak due to a Webkit bug: https://github.com/ariya/phantomjs/issues/12903 Also: - Whitelist only localhost and 127.0.0.1 in Capybara + JS specs - Blacklist all requests to media such as images, videos, PDFs, CSVs etc. - Log all the requests made. Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-03-31 | Properly eagerly-load the Capybara server for JS feature specs only | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-03-31 | Eager-load the Capybara server to prevent timeouts | Rémy Coutable | |
Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-03-31 | Increase Capybara's timeout | Rémy Coutable | |
Also disabled assets warming for Capybara/RSpec and remove a check to skip assets warming when ./tmp/cache/assets/test exists because assets are now served by webpack-dev-server. Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-03-14 | Merge branch 'rs-capybara-screenshot-artifacts' into 'master' | Kamil Trzciński | |
Store capybara screenshots as build artifacts Closes #13971 See merge request !7985 | |||
2017-03-08 | Decrease Capybara timeout for CI environment | Robert Speicher | |
2016-12-08 | Don't disable capybara-screenshot in CI environment | Robert Speicher | |
2016-11-28 | Pass `--load-images=no` to PhantomJS via Capybara/Poltergeist | Robert Speicher | |
We were unintentionally hitting `gravatar.com` whenever a test that used Poltergeist was run. This was certainly wasting their resources and slowing down our tests even further, for no reason. | |||
2016-03-15 | Fix Capybara 2.6.2 deprecation warnings | Stan Hu | |
2016-02-23 | Set window_size to 1366*768 | Alfredo Sumaran | |
2016-01-29 | Prevent transient Capybara timeouts during feature tests | Robert Speicher | |
The problem occurred because asset compilation takes a long time, so when the asset cache didn't exist and the first test ran, it would often (randomly) time out during the generation before the actual test even had a chance to run. Now we check if the cache exists before the suite runs, and if not, we manually fire a request to the root URL in order to generate it. This should allow subsequent tests to use the cached assets. | |||
2015-06-22 | Move CapybaraHelpers to its own support file | Robert Speicher | |
In case we end up wanting to use it in Spinach as well. | |||
2015-06-15 | Add `allowing_for_delay` helper method for feature specs | Robert Speicher | |
2015-04-26 | Don't use capybara-screenshot in CI environments | Robert Speicher | |
2015-04-26 | Enable js_errors for Capybara in Spinach and RSpec | Robert Speicher | |
2015-04-26 | Move RSpec setup for Capybara to its own support file | Robert Speicher | |