Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Graph] Re-enable functional test #44683

Merged
merged 51 commits into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
067158a
create graph listing page
flash1293 Aug 26, 2019
5fddc10
clean up app folder
flash1293 Aug 26, 2019
95f003b
remove inline loading menu
flash1293 Aug 27, 2019
ae44388
also add badge to workspace route
flash1293 Aug 27, 2019
2f1056f
fix tests
flash1293 Aug 27, 2019
5d637f5
fix graph spaces functional test
flash1293 Aug 27, 2019
9d17862
generate documentation for new breadcrumb property
flash1293 Aug 27, 2019
db1d740
fix test subject names
flash1293 Aug 27, 2019
e09b70d
remove unused translations
flash1293 Aug 27, 2019
2dab994
start implementing save modal flow for Graph
flash1293 Aug 27, 2019
c34d845
fix spaces functional test
flash1293 Aug 27, 2019
2d775e6
wip save modal
flash1293 Aug 27, 2019
ebe80d1
wip save modal
flash1293 Aug 27, 2019
fab1577
add and style save modal
flash1293 Aug 28, 2019
a9d31c8
add placeholder to description field
flash1293 Aug 28, 2019
9d2822e
Merge remote-tracking branch 'upstream/master' into graph/listing-page
flash1293 Aug 28, 2019
d0b9247
Merge remote-tracking branch 'upstream/master' into graph/listing-page
flash1293 Aug 29, 2019
d187eae
disable dirty check on breadcrumb navigation and fix delete function
flash1293 Aug 29, 2019
21ba056
Merge branch 'graph/listing-page' into graph/savemodal
flash1293 Aug 29, 2019
a289d7d
improve onClick typing on breadcrumb
flash1293 Aug 29, 2019
989481c
Merge branch 'graph/listing-page' into graph/savemodal
flash1293 Aug 29, 2019
be1e59a
fix newline error and use new types in dashboard app controller
flash1293 Aug 29, 2019
c5ac49b
fix translation errors
flash1293 Aug 30, 2019
8d6cec1
fix i18n translation for real
flash1293 Aug 30, 2019
0472505
Merge remote-tracking branch 'upstream/master' into graph/savemodal
flash1293 Aug 30, 2019
173804a
code review
flash1293 Sep 2, 2019
54e9a7b
Merge remote-tracking branch 'upstream/master' into graph/savemodal
flash1293 Sep 2, 2019
6f1bbca
fix i18n phrases
flash1293 Sep 2, 2019
7c94337
remove fragments
flash1293 Sep 2, 2019
7c0e664
fix graph functional tests wip
flash1293 Sep 3, 2019
9f0ce62
fix functional test
flash1293 Sep 4, 2019
f489b07
Merge remote-tracking branch 'upstream/master' into graph/savemodal
flash1293 Sep 4, 2019
ba6159c
Merge branch 'graph/savemodal' into graph/functional-test
flash1293 Sep 4, 2019
88e6cab
stabilize functional test
flash1293 Sep 4, 2019
bcc280f
remove unnecessary max-width and add commentary
flash1293 Sep 5, 2019
a578814
move to async syntax
flash1293 Sep 5, 2019
4897b52
clean up implementation
flash1293 Sep 5, 2019
7b2b91b
use description instead of title
flash1293 Sep 5, 2019
208b4db
Merge remote-tracking branch 'upstream/master' into graph/savemodal
flash1293 Sep 5, 2019
e4b9aa0
fix snapshot
flash1293 Sep 5, 2019
88c271a
Merge branch 'graph/savemodal' into graph/functional-test
flash1293 Sep 5, 2019
1195f36
adress review comments and set width for all save modals
flash1293 Sep 5, 2019
08b1fc6
Merge branch 'graph/savemodal' into graph/functional-test
flash1293 Sep 5, 2019
372f3b4
fix bug and improve typing
flash1293 Sep 5, 2019
3de7e4f
fix classname
flash1293 Sep 5, 2019
a4740a2
Merge branch 'graph/savemodal' into graph/functional-test
flash1293 Sep 5, 2019
c008fc8
Merge remote-tracking branch 'upstream/master' into graph/functional-…
flash1293 Sep 5, 2019
8cfc834
stabilize edge selection
flash1293 Sep 6, 2019
b024bc8
remove unused import
flash1293 Sep 6, 2019
c282064
Merge remote-tracking branch 'upstream/master' into graph/functional-…
flash1293 Sep 9, 2019
48b8763
remove unused function
flash1293 Sep 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions x-pack/legacy/plugins/graph/public/angular/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@

<button class="kuiButton kuiButton--basic kuiButton--small" ng-disabled="workspace === null ||workspace.nodes.length === 0"
tooltip="{{ ::'xpack.graph.sidebar.topMenu.removeVerticesButtonTooltip' | i18n: { defaultMessage: 'Remove vertices from workspace' } }}"
ng-click="setDetail(null);workspace.deleteSelection();">
ng-click="setDetail(null);workspace.deleteSelection();" data-test-subj="graphRemoveSelection">
<span class="kuiIcon fa-trash"></span>
</button>

Expand All @@ -350,13 +350,13 @@

<button class="kuiButton kuiButton--basic kuiButton--small" ng-disabled="workspace.nodes.length === 0" ng-if="workspace.nodes.length === 0||workspace.force === null"
tooltip="{{ ::'xpack.graph.sidebar.topMenu.runLayoutButtonTooltip' | i18n: { defaultMessage: 'Run layout' } }}"
ng-click="workspace.runLayout()">
ng-click="workspace.runLayout()" data-test-subj="graphResumeLayout">
<span class="kuiIcon fa-play"></span>
</button>

<button class="kuiButton kuiButton--basic kuiButton--small" ng-if="workspace.force !== null&&workspace.nodes.length>0"
tooltip="{{ ::'xpack.graph.sidebar.topMenu.pauseLayoutButtonTooltip' | i18n: { defaultMessage: 'Pause layout' } }}"
ng-click="workspace.stopLayout()">
ng-click="workspace.stopLayout()" data-test-subj="graphPauseLayout">
<span class="kuiIcon fa-pause"></span>
</button>
</div>
Expand All @@ -373,7 +373,7 @@
type="button" class="kuiButton kuiButton--basic kuiButton--small gphVertexSelect__button"
ng-disabled="workspace.nodes.length === 0" ng-click="setDetail(null);workspace.selectAll()"
i18n-id="xpack.graph.sidebar.selections.selectAllButtonLabel"
i18n-default-message="all"
i18n-default-message="all" data-test-subj="graphSelectAll"
></button>

<button
Expand All @@ -389,15 +389,15 @@
type="button" class="kuiButton kuiButton--basic kuiButton--small gphVertexSelect__button"
ng-disabled="workspace.nodes.length === 0" ng-click="setDetail(null);workspace.selectInvert()"
i18n-id="xpack.graph.sidebar.selections.invertSelectionButtonLabel"
i18n-default-message="invert"
i18n-default-message="invert" data-test-subj="graphInvertSelection"
></button>

<button
tooltip="{{ ::'xpack.graph.sidebar.selections.selectNeighboursButtonTooltip' | i18n: { defaultMessage: 'Select neighbours' } }}"
type="button" class="kuiButton kuiButton--basic kuiButton--small gphVertexSelect__button"
ng-disabled="workspace.selectedNodes.length === 0" ng-click="setDetail(null);workspace.selectNeighbours()"
i18n-id="xpack.graph.sidebar.selections.selectNeighboursButtonLabel"
i18n-default-message="linked"
i18n-default-message="linked" data-test-subj="graphLinkedSelection"
></button>
</div>

Expand Down
1 change: 1 addition & 0 deletions x-pack/legacy/plugins/graph/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ app.controller('graphuiPlugin', function (
canWipeWorkspace(function () {
kbnUrl.change('/workspace/', {});
}); },
testId: 'graphNewButton',
});

// if saving is disabled using uiCapabilities, we don't want to render the save
Expand Down
169 changes: 0 additions & 169 deletions x-pack/test/functional/apps/graph/graph.js

This file was deleted.

Loading