@redhat-developer/page-objects 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/out/components/AbstractElement.d.ts +16 -0
  2. package/out/components/AbstractElement.js +18 -2
  3. package/out/components/ElementWithContextMenu.d.ts +16 -0
  4. package/out/components/ElementWithContextMenu.js +16 -0
  5. package/out/components/WebviewMixin.d.ts +17 -1
  6. package/out/components/WebviewMixin.js +16 -0
  7. package/out/components/activityBar/ActionsControl.d.ts +16 -0
  8. package/out/components/activityBar/ActionsControl.js +16 -0
  9. package/out/components/activityBar/ActivityBar.d.ts +16 -0
  10. package/out/components/activityBar/ActivityBar.js +16 -0
  11. package/out/components/activityBar/ViewControl.d.ts +16 -0
  12. package/out/components/activityBar/ViewControl.js +16 -0
  13. package/out/components/bottomBar/AbstractViews.d.ts +17 -0
  14. package/out/components/bottomBar/AbstractViews.js +19 -2
  15. package/out/components/bottomBar/BottomBarPanel.d.ts +16 -0
  16. package/out/components/bottomBar/BottomBarPanel.js +17 -1
  17. package/out/components/bottomBar/ProblemsView.d.ts +16 -0
  18. package/out/components/bottomBar/ProblemsView.js +17 -2
  19. package/out/components/bottomBar/Views.d.ts +16 -0
  20. package/out/components/bottomBar/Views.js +16 -0
  21. package/out/components/bottomBar/WebviewView.d.ts +16 -0
  22. package/out/components/bottomBar/WebviewView.js +17 -0
  23. package/out/components/dialog/ModalDialog.d.ts +16 -0
  24. package/out/components/dialog/ModalDialog.js +16 -0
  25. package/out/components/editor/Breakpoint.d.ts +16 -0
  26. package/out/components/editor/Breakpoint.js +16 -0
  27. package/out/components/editor/ContentAssist.d.ts +16 -0
  28. package/out/components/editor/ContentAssist.js +16 -0
  29. package/out/components/editor/CustomEditor.d.ts +16 -0
  30. package/out/components/editor/CustomEditor.js +16 -0
  31. package/out/components/editor/DiffEditor.d.ts +16 -0
  32. package/out/components/editor/DiffEditor.js +16 -0
  33. package/out/components/editor/Editor.d.ts +16 -0
  34. package/out/components/editor/Editor.js +16 -0
  35. package/out/components/editor/EditorAction.d.ts +16 -0
  36. package/out/components/editor/EditorAction.js +16 -0
  37. package/out/components/editor/EditorView.d.ts +16 -0
  38. package/out/components/editor/EditorView.js +17 -1
  39. package/out/components/editor/SettingsEditor.d.ts +101 -4
  40. package/out/components/editor/SettingsEditor.js +226 -35
  41. package/out/components/editor/TextEditor.d.ts +16 -0
  42. package/out/components/editor/TextEditor.js +21 -5
  43. package/out/components/editor/WebView.d.ts +16 -0
  44. package/out/components/editor/WebView.js +18 -1
  45. package/out/components/menu/ContextMenu.d.ts +16 -0
  46. package/out/components/menu/ContextMenu.js +17 -1
  47. package/out/components/menu/MacTitleBar.d.ts +16 -0
  48. package/out/components/menu/MacTitleBar.js +16 -0
  49. package/out/components/menu/Menu.d.ts +16 -0
  50. package/out/components/menu/Menu.js +18 -1
  51. package/out/components/menu/MenuItem.d.ts +16 -0
  52. package/out/components/menu/MenuItem.js +16 -0
  53. package/out/components/menu/TitleBar.d.ts +18 -2
  54. package/out/components/menu/TitleBar.js +18 -2
  55. package/out/components/menu/WindowControls.d.ts +16 -0
  56. package/out/components/menu/WindowControls.js +16 -0
  57. package/out/components/sidebar/SideBarView.d.ts +16 -0
  58. package/out/components/sidebar/SideBarView.js +16 -0
  59. package/out/components/sidebar/ViewContent.d.ts +16 -0
  60. package/out/components/sidebar/ViewContent.js +17 -1
  61. package/out/components/sidebar/ViewItem.d.ts +16 -0
  62. package/out/components/sidebar/ViewItem.js +16 -0
  63. package/out/components/sidebar/ViewSection.d.ts +16 -0
  64. package/out/components/sidebar/ViewSection.js +17 -1
  65. package/out/components/sidebar/ViewTitlePart.d.ts +16 -0
  66. package/out/components/sidebar/ViewTitlePart.js +16 -0
  67. package/out/components/sidebar/WelcomeContent.d.ts +16 -0
  68. package/out/components/sidebar/WelcomeContent.js +16 -0
  69. package/out/components/sidebar/debug/DebugView.d.ts +17 -0
  70. package/out/components/sidebar/debug/DebugView.js +18 -1
  71. package/out/components/sidebar/extensions/ExtensionsViewItem.d.ts +16 -0
  72. package/out/components/sidebar/extensions/ExtensionsViewItem.js +16 -0
  73. package/out/components/sidebar/extensions/ExtensionsViewSection.d.ts +16 -0
  74. package/out/components/sidebar/extensions/ExtensionsViewSection.js +17 -1
  75. package/out/components/sidebar/scm/NewScmView.d.ts +16 -0
  76. package/out/components/sidebar/scm/NewScmView.js +16 -0
  77. package/out/components/sidebar/scm/ScmView.d.ts +17 -1
  78. package/out/components/sidebar/scm/ScmView.js +18 -2
  79. package/out/components/sidebar/tree/TreeSection.d.ts +16 -0
  80. package/out/components/sidebar/tree/TreeSection.js +16 -0
  81. package/out/components/sidebar/tree/custom/CustomTreeItem.d.ts +16 -0
  82. package/out/components/sidebar/tree/custom/CustomTreeItem.js +16 -0
  83. package/out/components/sidebar/tree/custom/CustomTreeSection.d.ts +16 -0
  84. package/out/components/sidebar/tree/custom/CustomTreeSection.js +16 -0
  85. package/out/components/sidebar/tree/debug/BreakpointSectionItem.d.ts +16 -0
  86. package/out/components/sidebar/tree/debug/BreakpointSectionItem.js +16 -0
  87. package/out/components/sidebar/tree/debug/DebugBreakpointSection.d.ts +16 -0
  88. package/out/components/sidebar/tree/debug/DebugBreakpointSection.js +16 -0
  89. package/out/components/sidebar/tree/debug/DebugVariablesSection.d.ts +16 -0
  90. package/out/components/sidebar/tree/debug/DebugVariablesSection.js +16 -0
  91. package/out/components/sidebar/tree/debug/SectionBreakpoint.d.ts +16 -0
  92. package/out/components/sidebar/tree/debug/SectionBreakpoint.js +16 -0
  93. package/out/components/sidebar/tree/debug/VariableSectionItem.d.ts +18 -0
  94. package/out/components/sidebar/tree/debug/VariableSectionItem.js +24 -0
  95. package/out/components/sidebar/tree/default/DefaultTreeItem.d.ts +16 -0
  96. package/out/components/sidebar/tree/default/DefaultTreeItem.js +16 -0
  97. package/out/components/sidebar/tree/default/DefaultTreeSection.d.ts +16 -0
  98. package/out/components/sidebar/tree/default/DefaultTreeSection.js +16 -0
  99. package/out/components/statusBar/StatusBar.d.ts +16 -0
  100. package/out/components/statusBar/StatusBar.js +16 -0
  101. package/out/components/workbench/DebugToolbar.d.ts +16 -0
  102. package/out/components/workbench/DebugToolbar.js +16 -0
  103. package/out/components/workbench/Notification.d.ts +17 -0
  104. package/out/components/workbench/Notification.js +20 -0
  105. package/out/components/workbench/NotificationsCenter.d.ts +16 -0
  106. package/out/components/workbench/NotificationsCenter.js +17 -1
  107. package/out/components/workbench/Workbench.d.ts +16 -0
  108. package/out/components/workbench/Workbench.js +16 -0
  109. package/out/components/workbench/input/Input.d.ts +16 -0
  110. package/out/components/workbench/input/Input.js +16 -0
  111. package/out/components/workbench/input/InputBox.d.ts +16 -0
  112. package/out/components/workbench/input/InputBox.js +16 -0
  113. package/out/components/workbench/input/QuickOpenBox.d.ts +16 -0
  114. package/out/components/workbench/input/QuickOpenBox.js +16 -0
  115. package/out/conditions/WaitForAttribute.d.ts +17 -1
  116. package/out/conditions/WaitForAttribute.js +17 -1
  117. package/out/errors/NullAttributeError.d.ts +16 -0
  118. package/out/errors/NullAttributeError.js +16 -0
  119. package/out/index.d.ts +16 -0
  120. package/out/index.js +16 -0
  121. package/out/locators/loader.d.ts +16 -0
  122. package/out/locators/loader.js +19 -3
  123. package/out/locators/locators.d.ts +28 -2
  124. package/out/locators/locators.js +16 -0
  125. package/package.json +5 -3
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.MenuItem = void 0;
4
20
  const AbstractElement_1 = require("../AbstractElement");
@@ -1,8 +1,24 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { WindowControls, ContextMenu } from "../..";
2
18
  import { Menu } from "./Menu";
3
19
  import { MenuItem } from "./MenuItem";
4
20
  /**
5
- * Page object representing the custom VSCode title bar
21
+ * Page object representing the custom VS Code title bar
6
22
  */
7
23
  export declare class TitleBar extends Menu {
8
24
  constructor();
@@ -28,7 +44,7 @@ export declare class TitleBar extends Menu {
28
44
  getWindowControls(): WindowControls;
29
45
  }
30
46
  /**
31
- * Page object representing an item of the custom VSCode title bar
47
+ * Page object representing an item of the custom VS Code title bar
32
48
  */
33
49
  export declare class TitleBarItem extends MenuItem {
34
50
  constructor(label: string, parent: Menu);
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.TitleBarItem = exports.TitleBar = void 0;
4
20
  const selenium_webdriver_1 = require("selenium-webdriver");
@@ -6,7 +22,7 @@ const __1 = require("../..");
6
22
  const Menu_1 = require("./Menu");
7
23
  const MenuItem_1 = require("./MenuItem");
8
24
  /**
9
- * Page object representing the custom VSCode title bar
25
+ * Page object representing the custom VS Code title bar
10
26
  */
11
27
  class TitleBar extends Menu_1.Menu {
12
28
  constructor() {
@@ -56,7 +72,7 @@ class TitleBar extends Menu_1.Menu {
56
72
  }
57
73
  exports.TitleBar = TitleBar;
58
74
  /**
59
- * Page object representing an item of the custom VSCode title bar
75
+ * Page object representing an item of the custom VS Code title bar
60
76
  */
61
77
  class TitleBarItem extends MenuItem_1.MenuItem {
62
78
  constructor(label, parent) {
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { AbstractElement } from "../AbstractElement";
2
18
  import { TitleBar } from "../..";
3
19
  /**
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.WindowControls = void 0;
4
20
  const AbstractElement_1 = require("../AbstractElement");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { AbstractElement } from "../AbstractElement";
2
18
  import { ViewTitlePart, ViewContent } from "../..";
3
19
  /**
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.SideBarView = void 0;
4
20
  const AbstractElement_1 = require("../AbstractElement");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { SideBarView, ViewSection, ViewSectionConstructor } from "../..";
2
18
  import { AbstractElement } from "../AbstractElement";
3
19
  /**
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.ViewContent = void 0;
4
20
  const __1 = require("../..");
@@ -58,7 +74,7 @@ class ViewContent extends AbstractElement_1.AbstractElement {
58
74
  if (type !== undefined) {
59
75
  return new type(panel, this);
60
76
  }
61
- let section = new __1.DefaultTreeSection(panel, this);
77
+ const section = new __1.DefaultTreeSection(panel, this);
62
78
  const types = ViewContent.locators.DefaultTreeSection.type;
63
79
  const locators = ViewContent.locators;
64
80
  if (await types.default(section, locators)) {
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { ElementWithContexMenu } from "../ElementWithContextMenu";
2
18
  import { AbstractElement } from "../AbstractElement";
3
19
  import { WebElement, By } from "selenium-webdriver";
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.ViewItemAction = exports.TreeItem = exports.ViewItem = void 0;
4
20
  const ElementWithContextMenu_1 = require("../ElementWithContextMenu");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { WebElement } from "selenium-webdriver";
2
18
  import { ContextMenu, ViewContent, ViewItem, WelcomeContentSection } from "../..";
3
19
  import { AbstractElement } from "../AbstractElement";
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.ViewPanelAction = exports.ViewSection = void 0;
4
20
  const selenium_webdriver_1 = require("selenium-webdriver");
@@ -109,7 +125,7 @@ class ViewSection extends AbstractElement_1.AbstractElement {
109
125
  * @returns ContextMenu page object if the action succeeds, undefined otherwise
110
126
  */
111
127
  async moreActions() {
112
- let more = await this.getAction('More Actions...');
128
+ const more = await this.getAction('More Actions...');
113
129
  if (!more) {
114
130
  return undefined;
115
131
  }
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { ElementWithContexMenu } from "../ElementWithContextMenu";
2
18
  import { AbstractElement } from "../AbstractElement";
3
19
  import { By, SideBarView } from "../..";
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.TitleActionButton = exports.ViewTitlePart = void 0;
4
20
  const ElementWithContextMenu_1 = require("../ElementWithContextMenu");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { WebElement } from "selenium-webdriver";
2
18
  import { AbstractElement } from "../AbstractElement";
3
19
  import { ViewSection } from "../..";
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.WelcomeContentSection = exports.WelcomeContentButton = void 0;
4
20
  const AbstractElement_1 = require("../AbstractElement");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { SideBarView } from "../SideBarView";
2
18
  import { DebugBreakpointSection } from "../tree/debug/DebugBreakpointSection";
3
19
  import { DebugVariableSection } from "../tree/debug/DebugVariablesSection";
@@ -8,6 +24,7 @@ export declare class DebugView extends SideBarView {
8
24
  /**
9
25
  * Get the title of the selected launch configuration
10
26
  * @returns Promise resolving to the title
27
+ * @deprecated For VS Code 1.88+ this method won't be working any more
11
28
  */
12
29
  getLaunchConfiguration(): Promise<string>;
13
30
  /**
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.DebugView = void 0;
4
20
  const SideBarView_1 = require("../SideBarView");
@@ -11,10 +27,11 @@ class DebugView extends SideBarView_1.SideBarView {
11
27
  /**
12
28
  * Get the title of the selected launch configuration
13
29
  * @returns Promise resolving to the title
30
+ * @deprecated For VS Code 1.88+ this method won't be working any more
14
31
  */
15
32
  async getLaunchConfiguration() {
16
33
  if (DebugView.versionInfo.version >= '1.87.0' && process.platform !== 'darwin') {
17
- throw Error(`The 'DebugView.getLaunchConfiguration' method is broken! Read more information in 'Known Issues > Limitations in testing with VS Code 1.87+' - https://github.com/microsoft/vscode/issues/206897.`);
34
+ throw Error(`DEPRECATED METHOD! The 'DebugView.getLaunchConfiguration' method is broken! Read more information in 'Known Issues > Limitations in testing with VS Code 1.87+' - https://github.com/microsoft/vscode/issues/206897.`);
18
35
  }
19
36
  const action = await this.getTitlePart().findElement(DebugView.locators.DebugView.launchCombo);
20
37
  const combo = await action.findElement(DebugView.locators.DebugView.launchSelect);
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { ViewItem } from "../ViewItem";
2
18
  import { WebElement } from "selenium-webdriver";
3
19
  import { ContextMenu } from "../../menu/ContextMenu";
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.ExtensionsViewItem = void 0;
4
20
  const ViewItem_1 = require("../ViewItem");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { ViewSection } from "../ViewSection";
2
18
  import { ExtensionsViewItem } from "./ExtensionsViewItem";
3
19
  /**
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.ExtensionsViewSection = void 0;
4
20
  const ViewSection_1 = require("../ViewSection");
@@ -51,7 +67,7 @@ class ExtensionsViewSection extends ViewSection_1.ViewSection {
51
67
  }
52
68
  await this.getDriver().wait(selenium_webdriver_1.until.elementIsNotVisible(progress));
53
69
  const parent = this.enclosingItem;
54
- let sectionTitle = this.getSectionForCategory(title);
70
+ const sectionTitle = this.getSectionForCategory(title);
55
71
  const section = await parent.getSection(sectionTitle);
56
72
  const titleParts = title.split(' ');
57
73
  if (titleParts[0].startsWith('@')) {
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { ScmView, ScmProvider, ScmChange } from "./ScmView";
2
18
  import { ContextMenu } from "../../menu/ContextMenu";
3
19
  /**
@@ -1,4 +1,20 @@
1
1
  "use strict";
2
+ /**
3
+ * Licensed to the Apache Software Foundation (ASF) under one or more
4
+ * contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright ownership.
6
+ * The ASF licenses this file to You under the Apache License, Version 2.0
7
+ * (the "License", destination); you may not use this file except in compliance with
8
+ * the License. You may obtain a copy of the License at
9
+ *
10
+ * https://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
2
18
  Object.defineProperty(exports, "__esModule", { value: true });
3
19
  exports.MultiScmProvider = exports.SingleScmProvider = exports.NewScmView = void 0;
4
20
  const ScmView_1 = require("./ScmView");
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
3
+ * contributor license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright ownership.
5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
6
+ * (the "License", destination); you may not use this file except in compliance with
7
+ * the License. You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
1
17
  import { SideBarView } from "../SideBarView";
2
18
  import { WebElement } from "selenium-webdriver";
3
19
  import { AbstractElement } from "../../AbstractElement";
@@ -20,7 +36,7 @@ export declare class ScmView extends SideBarView {
20
36
  getProviders(): Promise<ScmProvider[]>;
21
37
  /**
22
38
  * Initialize repository in the current folder if no SCM provider is found
23
- * @returns true if the action was completed succesfully, false if a provider already exists
39
+ * @returns true if the action was completed successfully, false if a provider already exists
24
40
  */
25
41
  initializeRepository(): Promise<boolean>;
26
42
  }