@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,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, WebDriver, Locator } from "selenium-webdriver";
2
18
  import { Locators } from "../locators/locators";
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.AbstractElement = void 0;
4
20
  const selenium_webdriver_1 = require("selenium-webdriver");
@@ -32,8 +48,8 @@ class AbstractElement extends selenium_webdriver_1.WebElement {
32
48
  super(AbstractElement.driver, base.getId());
33
49
  }
34
50
  else {
35
- let toFind = item.findElement(base);
36
- let id = toFind.getId();
51
+ const toFind = item.findElement(base);
52
+ const id = toFind.getId();
37
53
  super(AbstractElement.driver, id);
38
54
  }
39
55
  this.enclosingItem = item;
@@ -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 { ContextMenu } 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.ElementWithContexMenu = void 0;
4
20
  const AbstractElement_1 = require("./AbstractElement");
@@ -1,9 +1,25 @@
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 { Locator, WebElement } from "selenium-webdriver";
2
18
  import { AbstractElement } from "./AbstractElement";
3
19
  /**
4
20
  * Heavily inspired by https://stackoverflow.com/a/65418734
5
21
  */
6
- type Constructor<T = {}> = new (...args: any[]) => T;
22
+ type Constructor<T = object> = new (...args: any[]) => T;
7
23
  /**
8
24
  * The interface that a class is required to have in order to use the Webview mixin.
9
25
  */
@@ -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
  const selenium_webdriver_1 = require("selenium-webdriver");
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 { WebElement } from "selenium-webdriver";
2
18
  import { ActivityBar, ContextMenu } from "../..";
3
19
  import { ElementWithContexMenu } from "../ElementWithContextMenu";
@@ -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.ActionsControl = 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 { ActionsControl, ViewControl } from "../..";
2
18
  import { ElementWithContexMenu } from "../ElementWithContextMenu";
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.ActivityBar = void 0;
4
20
  const __1 = require("../..");
@@ -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 { ActivityBar, SideBarView } from "../..";
2
18
  import { ElementWithContexMenu } from "../ElementWithContextMenu";
3
19
  import { WebElement } 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.ViewControl = void 0;
4
20
  const __1 = require("../..");
@@ -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
  /**
3
19
  * View with channel selector
@@ -12,6 +28,7 @@ export declare abstract class ChannelView extends ElementWithContexMenu {
12
28
  /**
13
29
  * Get name of the current channel
14
30
  * @returns Promise resolving to the current channel name
31
+ * @deprecated For VS Code 1.88+ this method won't be working any more
15
32
  */
16
33
  getCurrentChannel(): Promise<string>;
17
34
  /**
@@ -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.TextView = exports.ChannelView = void 0;
4
20
  const selenium_webdriver_1 = require("selenium-webdriver");
@@ -27,10 +43,11 @@ class ChannelView extends ElementWithContextMenu_1.ElementWithContexMenu {
27
43
  /**
28
44
  * Get name of the current channel
29
45
  * @returns Promise resolving to the current channel name
46
+ * @deprecated For VS Code 1.88+ this method won't be working any more
30
47
  */
31
48
  async getCurrentChannel() {
32
49
  if (ChannelView.versionInfo.version >= '1.87.0' && process.platform !== 'darwin') {
33
- throw Error(`The 'ChannelView.getCurrentChannel' method is broken! Read more information in 'Known Issues > Limitations in testing with VS Code 1.87+' - https://github.com/microsoft/vscode/issues/206897.`);
50
+ throw Error(`DEPRECATED METHOD! The 'ChannelView.getCurrentChannel' 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
51
  }
35
52
  const combo = await this.enclosingItem.findElement(ChannelView.locators.BottomBarViews.channelCombo);
36
53
  return await combo.getAttribute('title');
@@ -64,7 +81,7 @@ class TextView extends ChannelView {
64
81
  // workaround issue https://github.com/redhat-developer/vscode-extension-tester/issues/835
65
82
  // do not fail if clipboard is empty
66
83
  }
67
- let textarea = await this.findElement(ChannelView.locators.BottomBarViews.textArea);
84
+ const textarea = await this.findElement(ChannelView.locators.BottomBarViews.textArea);
68
85
  await textarea.sendKeys(selenium_webdriver_1.Key.chord(TextView.ctlKey, 'a'));
69
86
  await textarea.sendKeys(selenium_webdriver_1.Key.chord(TextView.ctlKey, 'c'));
70
87
  const text = clipboard.readSync();
@@ -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 { ProblemsView, OutputView, DebugConsoleView, TerminalView } 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.BottomBarPanel = void 0;
4
20
  const AbstractElement_1 = require("../AbstractElement");
@@ -115,7 +131,7 @@ class BottomBarPanel extends AbstractElement_1.AbstractElement {
115
131
  }
116
132
  }
117
133
  async closePanel() {
118
- let closeButton = await this.findElement(BottomBarPanel.locators.BottomBarPanel.closeAction);
134
+ const closeButton = await this.findElement(BottomBarPanel.locators.BottomBarPanel.closeAction);
119
135
  await closeButton.click();
120
136
  }
121
137
  }
@@ -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 { BottomBarPanel } from "../..";
2
18
  import { AbstractElement } from "../AbstractElement";
3
19
  import { WebElement } 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.MarkerType = exports.Marker = exports.ProblemsView = void 0;
4
20
  const __1 = require("../..");
@@ -59,8 +75,7 @@ class ProblemsView extends AbstractElement_1.AbstractElement {
59
75
  const markers = [];
60
76
  const elements = await this.findElements(ProblemsView.locators.ProblemsView.markerRow);
61
77
  for (const element of elements) {
62
- let marker;
63
- marker = await new Marker(element, this).wait();
78
+ const marker = await new Marker(element, this).wait();
64
79
  if (type === MarkerType.Any || type === await marker.getType()) {
65
80
  markers.push(marker);
66
81
  }
@@ -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 { BottomBarPanel, ContentAssist } from "../..";
2
18
  import { TextView, ChannelView } from "./AbstractViews";
3
19
  import { ElementWithContexMenu } from "../ElementWithContextMenu";
@@ -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.TerminalView = exports.DebugConsoleView = exports.OutputView = void 0;
4
20
  const selenium_webdriver_1 = require("selenium-webdriver");
@@ -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
  /**
@@ -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
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
19
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
20
  };
@@ -13,6 +29,7 @@ class WebviewViewBase extends AbstractElement_1.AbstractElement {
13
29
  constructor() {
14
30
  super(WebviewViewBase.locators.Workbench.constructor);
15
31
  }
32
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
16
33
  async getViewToSwitchTo(handle) {
17
34
  return await this.getDriver().findElement(WebviewViewBase.locators.WebviewView.iframe);
18
35
  }
@@ -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
  /**
@@ -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.ModalDialog = 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 { WebElement } from 'selenium-webdriver';
2
18
  import { AbstractElement } from '../AbstractElement';
3
19
  export declare class Breakpoint extends 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.Breakpoint = void 0;
4
20
  const selenium_webdriver_1 = require("selenium-webdriver");
@@ -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 { TextEditor, Menu, MenuItem, DebugConsoleView } from "../..";
2
18
  import { WebElement } from 'selenium-webdriver';
3
19
  /**