Skip to content

Commit

Permalink
Fixes #253 - terminate action should be enabled more often, even if i…
Browse files Browse the repository at this point in the history
…t might fail

Signed-off-by: Rob Stryker <[email protected]>
  • Loading branch information
robstryker committed Dec 6, 2022
1 parent c6dbf77 commit f6da0c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
},
{
"command": "server.terminate",
"when": "view =~ '/(servers)/' && viewItem =~ /^(Starting|Stopping|Unknown)/",
"when": "view =~ '/(servers)/' && viewItem =~ /^(Starting|Stopping|Started|Stopped|Unknown)/",
"group": "1_server-startstop@6"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/ui-test/extensionUITest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function extensionUIAssetsTest() {
const viewControl = await new ActivityBar().getViewControl('Extensions');
sideBar = await viewControl.openView();
const titlePart = sideBar.getTitlePart();
const actionButton = new TitleActionButton(By.xpath('.//a[@aria-label="Clear Extensions Search Results"]'), titlePart);
const actionButton = new TitleActionButton(By.xpath('.//a[@aria-label="Clear Extensions Search Results"]').toString(), titlePart);
if (actionButton.isEnabled()) {
await actionButton.click();
}
Expand Down

0 comments on commit f6da0c3

Please sign in to comment.