Commit Graph

57 Commits

Author SHA1 Message Date
Winnie Hellmann d89b19476d Use FIXTURES_PATH for loading test.pdf 2019-04-30 12:40:45 +02:00
Winnie Hellmann 96ad838433 Use FIXTURES_PATH in balsamiq_viewer_integration_spec.js 2019-04-30 12:40:42 +02:00
Winnie Hellmann ad985a7a28 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430

(cherry picked from commit 79a45f7f02)
2019-03-26 16:03:28 +00:00
Winnie Hellmann 514ee63826 Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
Filipa Lacerda 022968764c Revert "Merge branch 'winh-remove-sushi' into 'master'"
This reverts merge request !26430
2019-03-22 11:03:15 +00:00
Winnie Hellmann 3e9bb4ad31 Remove .raw from JavaScript fixture file names
There is nothing more to say but

"Commits that change 30 or more lines across at least three files
must describe these changes in the commit body"
2019-03-21 17:16:53 +01:00
George Tsiolis e7763a58b5 Remove empty spec describe blocks 2018-10-18 19:02:55 +03:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
gfyoung 23cdae8eee Enable "prefer-destructuring" in JS files
Partially addresses #47006.
2018-06-25 11:53:57 -07:00
Lukas Eipert 6d8611567c
ensure that `import/no-unresolved` does not trigger for our fixture files 2018-06-20 14:28:28 +02:00
gfyoung bce890820f Enable no-restricted-globals in JS files 2018-06-15 15:58:27 +00:00
Lukas Eipert 6e1a7902f4
fix last lints 2018-05-29 18:42:51 +02:00
Clement Ho 56982fcf24 Merge branch 'master' into bootstrap4 2018-04-25 10:51:53 -05:00
Mike Greiling 8fa0aeb880
fix illegal references to "this" in module context 2018-04-23 00:54:20 -05:00
Clement Ho 65c07bdbf0 [skip ci] Convert img-responsive to img-fluid 2018-04-10 13:16:26 -05:00
Clement Ho 46031d63cd [skip ci] Convert panel related class names to card 2018-04-10 12:11:34 -05:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Phil Hughes a16cdd0b3e
converted blob viewer to axios 2018-01-30 09:12:56 +00:00
Winnie Hellmann 0711ebbd72 Use restore() instead of reset() for removing axios MockAdapter 2018-01-23 12:42:02 +01:00
Eric Eastwood ac9e65a9b9 Switch blob/notebook to Axios 2018-01-02 18:01:00 -06:00
Filipa Lacerda 6ffd34897d Remove dropzoneInput from global namespace 2017-10-19 07:45:52 +00:00
James Ramsay 0ed23790a4 Fix spelling of occurred 2017-09-26 08:46:09 -04:00
Filipa Lacerda 6a6a1e5b9e Merge branch '35052-please-select-a-file-when-attempting-to-upload-or-replace-from-the-ui' into 'master'
Resolve "'Please select a file' when attempting to upload or replace from the UI"

Closes #35052

See merge request !12863
2017-08-08 14:45:49 +00:00
Simon Knox f363479808 disable file upload button while uploading
hide placeholder text when files have been added
vertically center dropzone area content
close modal after file upload succeeds
2017-08-08 22:12:08 +10:00
Luke "Jared" Bennett 9c521c8526
Made BlobViewer jasmine integration spec use snippets view instead of pblob view 2017-07-17 17:55:50 +01:00
Douwe Maan b38c74d696 Revert 'New file from interface on existing branch' 2017-06-09 10:10:47 -05:00
Filipa Lacerda b261fb7b33 Merge branch 'adopt-es-module-syntax' into 'master'
Adopt ES module syntax

See merge request !9567
2017-05-22 16:07:43 +00:00
Luke "Jared" Bennett 1f9a9629db Fix clicking disabled clipboard button toolip 2017-05-18 20:53:15 +00:00
Mike Greiling 283f968ef2 update frontend specs to use ES module syntax 2017-05-16 16:01:51 -05:00
Luke "Jared" Bennett b504b09b68 Added balsamiq jasmine integration test 2017-05-15 07:48:54 +00:00
Filipa Lacerda 269c0fe007 Replace old isObject for underscore methods 2017-05-10 16:17:31 +00:00
Clement Ho 0d540530ca Standardize jasmine test describe block names that test specific methods 2017-05-05 17:17:08 -05:00
Luke "Jared" Bennett ef7001c9c6 Merge branch 'master' into 'balsalmiq-support'
# Conflicts:
#   spec/features/projects/commit/cherry_pick_spec.rb
#   spec/features/projects/environments/environment_spec.rb
2017-05-02 09:11:55 +00:00
Phil Hughes 54beb93ac3 Merge branch 'pdflab-in-repo' into 'master'
Move PDFLab assets into repo

See merge request !10642
2017-05-02 07:35:49 +00:00
Sam Rose 9f3985c613 Move PDFLab into GitLab 2017-04-28 12:52:36 -04:00
Luke "Jared" Bennett 2ef7c6f070
Fixed specs 2017-04-28 17:32:50 +01:00
Luke "Jared" Bennett cde3760bb4
Merge branch 'master' into balsalmiq-support 2017-04-28 11:32:40 +01:00
Phil Hughes 88380a04c6 Added specs for JS method to switch views 2017-04-27 12:23:27 -05:00
Phil Hughes 95658fb62a Fixed failing JS tests 2017-04-27 12:23:27 -05:00
Douwe Maan a7fd95cd22 Render viewer error synchronously so that 'view the source' link will work 2017-04-27 12:23:26 -05:00
Douwe Maan 7cc4546bc9 Add specs 2017-04-27 12:23:26 -05:00
Luke "Jared" Bennett c3633db617 Merge branch 'master' into 'balsalmiq-support'
# Conflicts:
#   config/webpack.config.js
2017-04-26 11:26:10 +00:00
Eric Eastwood 5f7b4cb5d8 Use jQuery niceness on blob_fork_suggestion
Fix
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10602#note_27871752
2017-04-22 11:51:07 -05:00
Eric Eastwood 36387ce1b4 Add Fork/Cancel confirmation to "Replace"/"Delete" buttons
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/30637
2017-04-20 13:34:18 -05:00
Kushal Pandya d586b6cced Add ES lint support to identify poorly written Promises 2017-04-20 11:11:51 +00:00
Luke "Jared" Bennett 897d8d547c
Further review changes 2017-04-11 11:28:17 +01:00
Luke "Jared" Bennett 40e2be25c7
Added unit tests 2017-04-10 20:26:57 +01:00
Jacob Schatz a1db7c5b9f Merge branch 'pdf-js-spec-loading-wait' into 'master'
Wait for the PDF to be loaded before doing anything

Closes #30531

See merge request !10493
2017-04-06 11:18:28 +00:00
Phil Hughes e992799ce5 STL file viewer 2017-04-06 10:02:24 +00:00