Commit graph

17 commits

Author SHA1 Message Date
Mike Greiling
20f1b823d1
remove unnecessary use of url_blacklist override 2017-10-26 18:15:09 +02:00
Mike Greiling
1ad8a42eff
remove unnecessary :js option in download_spec 2017-10-23 17:37:58 +03:00
Zeger-Jan van de Weg
e4d07f12b6
Test against public projects 2017-10-05 12:41:22 +02:00
Eric Eastwood
8640b294fa Add extra assertions about how the link will open 2017-10-04 11:32:56 -05:00
Zeger-Jan van de Weg
6a40c21675
Update tests for new implementation 2017-10-03 13:25:41 +02:00
Eric Eastwood
bca86c858b Add test for external HTML artifact 2017-10-03 00:33:13 -05:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Robert Speicher
1a0064dceb Use empty_project where possible in spec/features/projects 2017-07-27 13:12:16 -04:00
Keifer Furzland
7e113b6824 Remove superfluous type defs in specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:52 +02:00
Douwe Maan
fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Rémy Coutable
448fc23e47
Let PhantomJS load local images
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-06-12 19:00:03 +02:00
Lin Jen-Shin
c94db0c290 Use - as the prefix so we don't conflict with namespaces
The decision was made around:
https://gitlab.com/gitlab-org/gitlab-ce/issues/26407#note_30624641
2017-05-26 23:06:20 +08:00
Lin Jen-Shin
70eb0c6a88 Merge remote-tracking branch 'upstream/master' into rename-builds-controller
* upstream/master: (307 commits)
  Address feedback
  Add small update for the i18n guide.
  update webpack to v2.6.1 patch release to fix "Can't find variable: Promise" error
  update webpack-bundle-analyzer past v2.4.1 to support NamedChunksPlugin
  name all webpack chunks to improve long term cacheability
  add NameAllModulesPlugin to cover shortcomings of NamedModulesPlugin
  upgrade to latest webpack version
  Only use DROP INDEX CONCURRENTLY on postgreql 9.2+
  Provide default for calculating label text color (!11681)
  Add failing test for #32728
  Bugfix: Always use the default language when generating emails.
  Remove unecessary commit pattern check
  Add regexp_for_value helper method
  Remove shared example and improve sub_group_issuables_spec.rb
  Remove 'should' from scenario in has_subgroup_title_spec.rb
  Cartfile git and binary methods cannot take a GitHub repo
  Fix terminals support for Kubernetes service
  Add review comments to compare_spec.rb
  Fix transient error clicking dropdown items in compare_spec.rb
  Use non-global jQuery reference within raven bundle
  ...
2017-05-26 18:25:32 +08:00
Oswaldo Ferreira
2338785ec9 Use wait_for_requests to wait all JS request 2017-05-22 20:39:49 -03:00
Lin Jen-Shin
fb3077e67b Complete all legacy builds URL. Tests are added 2017-05-19 00:57:37 +08:00
Lin Jen-Shin
71777a4a18 Rename BuildsController to JobsController
Rename other URL generators

admin_builds_path -> admin_jobs_path

Fix tests and more renaming

Fix more tests

Also change build_id to job_id in the controller
2017-05-17 20:17:30 +08:00
Douwe Maan
0f58eb6bde Add artifact file page that uses the blob viewer 2017-05-04 08:50:12 -05:00