Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@12-6-stable-ee | GitLab Bot | 2019-12-20 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@12-5-stable-ee | GitLab Bot | 2019-11-19 | 1 | -1/+5 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-09-18 | 1 | -2/+2 |
| | |||||
* | Enable CSP in gitlab.yml.exampleenable-csp-in-dev-and-ci-ce | Heinrich Lee Yu | 2019-08-22 | 1 | -0/+3 |
| | | | | This enables CSP in dev and CI | ||||
* | Add frozen_string_literal to spec/support | Thong Kuah | 2019-07-25 | 1 | -0/+2 |
| | | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758 | ||||
* | Add Aria support to capybara | Nick Thomas | 2019-07-22 | 1 | -0/+1 |
| | |||||
* | Upgrade to Capybara 3 | Heinrich Lee Yu | 2019-06-12 | 1 | -0/+2 |
| | | | | | Fix whitespace in specs because normalize_ws is slightly different from Capybara 2 behavior | ||||
* | Explicitly set Chrome user-data-dir58882-explicit-chrome-data-dir | Heinrich Lee Yu | 2019-06-11 | 1 | -0/+3 |
| | | | | | This is a temporary measure to prevent some system specs causing Chrome to crash | ||||
* | Try to reduce testing view port and unify it | Lin Jen-Shin | 2019-05-07 | 1 | -3/+8 |
| | | | | | | | | | Hoping that we don't hit into Selenium::WebDriver::Error::NoSuchDriverError: invalid session id Again. | ||||
* | Fix typos in comments and specs | George Tsiolis | 2018-11-01 | 1 | -1/+1 |
| | |||||
* | Move spec helpers/matchers/shared examples/contexts to their relevant folder | Rémy Coutable | 2018-04-23 | 1 | -0/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | prefer &. to .try | Mike Greiling | 2018-04-13 | 1 | -1/+1 |
| | |||||
* | remove --disable-gpu flag as it is no longer needed | Mike Greiling | 2018-04-13 | 1 | -7/+1 |
| | |||||
* | display relevant browser console output whenever an integration test fails | Mike Greiling | 2018-04-13 | 1 | -0/+19 |
| | |||||
* | prevent localStorage.clear from running when it would cause an error | Mike Greiling | 2018-02-23 | 1 | -2/+4 |
| | |||||
* | Disable /dev/shm in CIsh-disable-dev-shm | Stan Hu | 2017-12-22 | 1 | -0/+3 |
| | | | | | | | | | | | 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. | ||||
* | add logging back to capybara config and clean up selenium option instantiationclean-capybara-config | Mike Greiling | 2017-11-29 | 1 | -8/+28 |
| | |||||
* | make window resizing more resiliant on small screens when headless mode is off | Mike Greiling | 2017-11-01 | 1 | -3/+7 |
| | |||||
* | move resize option the pre-test hooks instead of post-test | Mike Greiling | 2017-11-01 | 1 | -3/+3 |
| | |||||
* | reset browser window size between tests | Mike Greiling | 2017-11-01 | 1 | -0/+3 |
| | |||||
* | add CHROME_HEADLESS environment variable to disable headless mode | Mike Greiling | 2017-10-21 | 1 | -1/+4 |
| | |||||
* | clear localStorage after each capybara test (global) | Mike Greiling | 2017-10-20 | 1 | -0/+3 |
| | |||||
* | Bump selenium-webdriver to 3.5.0 to make Capybara work properly | Stan Hu | 2017-08-12 | 1 | -1/+1 |
| | |||||
* | Expand Chrome window size to make specs pass | Stan Hu | 2017-08-11 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into sh-headless-chrome-support | Stan Hu | 2017-08-02 | 1 | -2/+10 |
|\ | |||||
| * | Ensure Gitlab::Application.routes.default_url_options are set correctly in ↵ | Rémy Coutable | 2017-07-28 | 1 | -1/+8 |
| | | | | | | | | | | | | Capybara + :js specs Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
| * | Don't reset the session when the example failed, because we need ↵dm-restore-capybara-screenshot | Douwe Maan | 2017-06-21 | 1 | -2/+3 |
| | | | | | | | | capybara-screenshot to have access to it | ||||
* | | Make Capybara::Screenshot work with headless Chrome | Stan Hu | 2017-06-16 | 1 | -0/+4 |
| | | |||||
* | | Replace PhantomJS with headless Chrome for Rspec tests | Stan Hu | 2017-06-16 | 1 | -13/+10 |
|/ | | | | Closes #30876 | ||||
* | Call Capybara.reset_sessions! before block_and_wait_for_requests_complete33779-reset-session-before-blocking-requests | Rémy Coutable | 2017-06-16 | 1 | -0/+9 |
| | | | | | | | | | | | 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> | ||||
* | Let PhantomJS load local imagesrc/load-images-in-phantomjs | Rémy Coutable | 2017-06-12 | 1 | -1/+3 |
| | | | | | | | | | | | | | 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> | ||||
* | Properly eagerly-load the Capybara server for JS feature specs only | Rémy Coutable | 2017-03-31 | 1 | -2/+6 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Eager-load the Capybara server to prevent timeouts | Rémy Coutable | 2017-03-31 | 1 | -1/+1 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Increase Capybara's timeout | Rémy Coutable | 2017-03-31 | 1 | -2/+2 |
| | | | | | | | | 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> | ||||
* | Merge branch 'rs-capybara-screenshot-artifacts' into 'master' | Kamil Trzciński | 2017-03-14 | 1 | -6/+3 |
|\ | | | | | | | | | | | | | Store capybara screenshots as build artifacts Closes #13971 See merge request !7985 | ||||
| * | Don't disable capybara-screenshot in CI environmentrs-capybara-screenshot-artifacts | Robert Speicher | 2016-12-08 | 1 | -6/+3 |
| | | |||||
* | | Decrease Capybara timeout for CI environmentrs-lower-capybara-timeout | Robert Speicher | 2017-03-08 | 1 | -1/+1 |
|/ | |||||
* | Pass `--load-images=no` to PhantomJS via Capybara/Poltergeistrs-phantomjs-disable-images | Robert Speicher | 2016-11-28 | 1 | -1/+9 |
| | | | | | | 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. | ||||
* | Fix Capybara 2.6.2 deprecation warnings | Stan Hu | 2016-03-15 | 1 | -1/+1 |
| | |||||
* | Set window_size to 1366*768 | Alfredo Sumaran | 2016-02-23 | 1 | -1/+1 |
| | |||||
* | Prevent transient Capybara timeouts during feature testsrs-transient-capybara-timeout | Robert Speicher | 2016-01-28 | 1 | -0/+6 |
| | | | | | | | | | | | 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. | ||||
* | Move CapybaraHelpers to its own support file | Robert Speicher | 2015-06-22 | 1 | -33/+0 |
| | | | | In case we end up wanting to use it in Spinach as well. | ||||
* | Add `allowing_for_delay` helper method for feature specs | Robert Speicher | 2015-06-14 | 1 | -0/+33 |
| | |||||
* | Don't use capybara-screenshot in CI environmentsrs-capybara-screenshot | Robert Speicher | 2015-04-25 | 1 | -3/+5 |
| | |||||
* | Enable js_errors for Capybara in Spinach and RSpec | Robert Speicher | 2015-04-25 | 1 | -1/+1 |
| | |||||
* | Move RSpec setup for Capybara to its own support file | Robert Speicher | 2015-04-25 | 1 | -0/+19 |