gitlab-org--gitlab-foss/spec/javascripts
Patrick Derichs a13abd6731 Add edit_note and spec for editing quick actions
Call QuickActionsService on Note update

Add support for notes which just contain
commands after editing

Return http status gone (410) if note was deleted

Temporary frontend addition so it is not
failing when a note is deleted

Move specs to shared examples

Fix rubocop style issue

Deleting note on frontend when status is 410

Use guard clause for note which got deleted

Simplified condition for nil note

This method should no longer be called
with nil note

Refactoring of execute method to reduce
complexity

Move errors update to delete_note method

Note is now deleted visually when it only
contains commands after update

Add expectation

Fix style issues

Changing action to fix tests

Add tests for removeNote and update
deleteNote expectations
2019-08-26 09:20:00 +00:00
..
badges Karma: Fix css selector for loading icon 2019-07-26 09:40:17 +00:00
behaviors Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
blob Use FIXTURES_PATH for loading test.pdf 2019-04-30 12:40:45 +02:00
blob_edit
boards Emit dropdown show event in boards_selector test 2019-07-30 09:29:24 -04:00
branches
ci_variable_list Allow masking @ and : characters 2019-07-23 21:22:25 +02:00
commit Fix inconsistent pagination styles 2019-02-27 10:16:46 +00:00
cycle_analytics Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
deploy_keys/components
diffs Fix to show renamed file in mr 2019-08-21 08:23:22 +00:00
dirty_submit Fix throttling issue in form dirty checking 2019-05-17 14:05:15 -03:00
droplab
environments Convert spec/javascripts/environments/*rollback* tests to Jest 2019-08-12 15:22:58 -04:00
feature_highlight
filtered_search Remove baseEndpoint from search dropdwon 2019-06-24 15:10:15 +03:00
fixtures Move frontend fixtures into spec/frontend 2019-07-19 02:27:15 -05:00
frequent_items Rename vue_component_helper to text_helper 2019-05-16 06:40:18 -05:00
graphs
groups Improve group list UI 2019-06-24 13:05:21 +02:00
helpers Syncs the vue test utils helpers 2019-08-02 13:11:37 +00:00
ide Always pre-select "Start a new merge request" 2019-08-22 23:23:06 +00:00
image_diff Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
integrations Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
issue_show Throw error for multiple RecaptchaModal instances 2019-08-21 08:06:50 +00:00
jobs Update GraphicsMagick from 1.3.29 to 1.3.33 for CI tests 2019-08-12 18:54:05 +01:00
lib/utils Add `searchBy` helper & `SidebarItemEpicsSelect` 2019-08-22 17:58:44 +05:30
locale Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
monitoring Merge branch '66073-use-time-series-chart-instead-of-area-chart-in-panel_types' into 'master' 2019-08-24 07:26:17 +00:00
notebook Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
notes Add edit_note and spec for editing quick actions 2019-08-26 09:20:00 +00:00
pages Upgrade prettier to latest (v1.18.2) 2019-06-21 12:36:03 -05:00
pdf Remove pdf.js deprecation warnings 2019-07-30 06:52:56 -07:00
performance_bar Replace peek-pg with our own implementation 2019-07-26 14:37:26 +01:00
pipelines Hides loading spinner after request 2019-08-06 11:30:10 +01:00
polyfills
profile
projects Handling password on import by url page 2019-05-29 14:03:50 +03:00
prometheus_metrics Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
raven feat: allow Sentry configuration to be passed on gitlab.yml 2019-04-30 18:10:57 +02:00
registry Fixed tech debt of using custom component 2019-08-21 18:55:42 +00:00
related_merge_requests Rewrite related MRs widget with Vue 2019-04-05 21:20:28 +02:00
releases Show upcoming status for releases 2019-07-03 09:12:15 +00:00
reports Karma: Fix css selector for loading icon 2019-07-26 09:40:17 +00:00
shared
sidebar Backport: Issue sidebar tracking 2019-08-21 19:12:11 +00:00
u2f Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
vue_mr_widget Remove mergeTrain from FE since it's used only in EE 2019-08-22 13:50:19 +00:00
vue_shared Add `autofocus` directive for input elements 2019-08-19 14:28:39 +05:30
vuex_shared/modules/modal Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
.eslintrc.yml
ajax_loading_spinner_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
avatar_helper_spec.js
awards_handler_spec.js Revert "Merge branch 'tz-reorganise-digests-json' into 'master'" 2019-04-10 11:49:06 -07:00
bootstrap_jquery_spec.js
bootstrap_linked_tabs_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
breakpoints_spec.js Fix isDesktop function to return proper value 2019-04-12 10:47:36 -04:00
close_reopen_report_toggle_spec.js
collapsed_sidebar_todo_spec.js Change 'Todo' to 'To Do' 2019-07-04 15:45:54 +00:00
comment_type_toggle_spec.js
commit_merge_requests_spec.js
commits_spec.js
create_item_dropdown_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
diff_comments_store_spec.js
dropzone_input_spec.js
emoji_spec.js Revert "Merge branch 'tz-reorganise-digests-json' into 'master'" 2019-04-10 11:49:06 -07:00
flash_spec.js
fly_out_nav_spec.js Fix flyout nav on small viewports 2019-05-15 15:41:00 +01:00
gl_dropdown_spec.js Move all static fixtures to static directory 2019-04-25 13:56:32 +02:00
gl_field_errors_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
gl_form_spec.js
gpg_badges_spec.js
header_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
importer_status_spec.js
issuable_spec.js CE Port of Allow bulk update for group issues 2019-07-09 11:46:16 +00:00
issue_spec.js Delete leftover code for referenced_merge_requests 2019-04-15 09:02:50 +02:00
labels_issue_sidebar_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
landing_spec.js
lazy_loader_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
line_highlighter_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
matchers.js Comply with `no-implicit-coercion` rule (CE) 2019-06-03 22:51:02 +00:00
merge_request_spec.js Upgrade Rails to 5.1.6.1 2019-04-23 08:31:23 +08:00
merge_request_tabs_spec.js Allow command and control click to work on MR tabs 2019-06-12 15:36:02 -04:00
mini_pipeline_graph_dropdown_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
namespace_select_spec.js
new_branch_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
oauth_remember_me_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
pager_spec.js
persistent_user_callout_spec.js Add support for deferred links in persistent user callouts 2019-08-05 09:00:34 +00:00
pipelines_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
project_select_combo_button_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
read_more_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
right_sidebar_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
search_autocomplete_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
search_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
settings_panels_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
shortcuts_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
signin_tabs_memoizer_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
smart_interval_spec.js
syntax_highlight_spec.js
task_list_spec.js
test_bundle.js Update setImmediate use in karma specs 2019-07-11 14:32:37 -05:00
test_constants.js Move frontend fixtures to tmp/tests 2019-07-19 02:27:14 -05:00
todos_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
toggle_buttons_spec.js
user_popovers_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00
version_check_image_spec.js
zen_mode_spec.js Merge branch 'winh-remove-sushi' into 'master' 2019-03-26 16:03:28 +00:00