Skip to content

Commit

Permalink
Add vscodeignore entries for welcome page (#1710)
Browse files Browse the repository at this point in the history
* Add vscodeignore entries for welcome page and remove explain playbook option
  • Loading branch information
audgirka authored Dec 6, 2024
1 parent 52e2b88 commit 9a5c9d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
!media/quickLinks/lightspeed.png
!media/quickLinks/quickLinksStyle.css
!media/welcomePage/logo.png
!media/welcomePage/quickLinksStyle.css
!media/welcomePage/style.css
!media/playbookGeneration/playbookGeneration.css
!media/playbookGeneration/style.css
!media/roleGeneration/style.css
Expand All @@ -45,6 +45,7 @@
!out/client/webview/apps/contentCreator/createAnsibleProjectPageApp.js
!out/client/webview/apps/contentCreator/createDevfilePageApp.js
!out/client/webview/apps/quickLinks/quickLinksApp.js
!out/client/webview/apps/welcomePage/welcomePageApp.js
!out/server/src/server.js
!package.json
!package.nls.json
Expand Down
4 changes: 2 additions & 2 deletions src/features/welcomePage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,15 @@ export class AnsibleWelcomePage {
<p>Scans your code repositories to recommend code quality improvements.
</p>
</div>
<div class="catalogue">
<!-- <div class="catalogue">
<h3>
<a href="command:workbench.action.files.openFile">
<span class="codicon codicon-symbol-property"></span> Explain playbook
</a>
</h3>
<p>Explain a playbook
</p>
</div>
</div> -->
</div>
<!-- <div class="index-list start-container">
Expand Down
4 changes: 3 additions & 1 deletion test/ui-test/lightspeedUiTestPlaybookGenWebviewPart1Test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ describe("Verify playbook generation features work as expected", function () {
.getContent()
.getSection("Ansible Development Tools");
adtView.expand();
await sleep(2000);
await sleep(3000);
console.log("Expanded ADT view");

webviewView = new WebviewView();
expect(webviewView).not.undefined;
await webviewView.switchToFrame(1000);
console.log("Switched to sidebar webview");

const welcomePageLink = await webviewView.findWebElement(
By.xpath(
Expand Down

0 comments on commit 9a5c9d6

Please sign in to comment.