-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Discover Ansible Development Tools Walkthrough
- Loading branch information
1 parent
225e0d6
commit 8d6afa5
Showing
20 changed files
with
172 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- markdownlint-disable MD033 MD041 MD013--> | ||
|
||
<figure align="center"> | ||
<img src="all-adt-components.png" alt="image missing" /> | ||
<figcaption>All the tools inside the Ansible environment package</figcaption> | ||
</figure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- markdownlint-disable MD033 MD041 MD013--> | ||
|
||
<figure align="center"> | ||
<img src="create-ansible-creator.gif" alt="image missing" /> | ||
<figcaption>Scaffolding a collection using Ansible Creator inside the Ansible extension</figcaption> | ||
</figure> | ||
<br> | ||
<figure align="center"> | ||
<img src="create-ansible-navigator.png" alt="image missing" /> | ||
<figcaption>Ansible Navigator's menu options</figcaption> | ||
</figure> | ||
<br> | ||
<a href="https://www.youtube.com/watch?v=_aEX3HkjayI"> | ||
<figure align="center"> | ||
<img src="create-automation-hub.png" alt="demo image" /> | ||
<figcaption>Red Hat Ansible Automation Platform Automation Hub Overview</figcaption> | ||
</figure> | ||
</a> | ||
<br> | ||
<figure align="center"> | ||
<img src="create-lightspeed-completion.gif" alt="image missing" /> | ||
<figcaption>Ansible Lightspeed's in-code functionality</figcaption> | ||
</figure> | ||
<br> | ||
<figure align="center"> | ||
<img src="create-lightspeed-playbook.gif" alt="image missing" /> | ||
<figcaption>Generate playbooks with Ansible Lightspeed inside the Ansible extension</figcaption> | ||
</figure> | ||
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- markdownlint-disable MD033 MD041 MD013--> | ||
|
||
<figure align="center"> | ||
<img src="deploy-ansible-builder.png" alt="image missing" /> | ||
<figcaption>Building an execution environment with Ansible Builder</figcaption> | ||
</figure> | ||
<br> | ||
<figure align="center"> | ||
<img src="deploy-ansible-sign.png" alt="image missing" /> | ||
<figcaption>Creating a checksum manifest file with Ansible Sign</figcaption> | ||
</figure> | ||
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- markdownlint-disable MD033 MD041 MD013--> | ||
|
||
<figure align="center"> | ||
<img src="test-ansible-lint.gif" alt="image missing" /> | ||
<figcaption>Ansible Lint integration inside the Ansible extension</figcaption> | ||
</figure> | ||
<br> | ||
<figure align="center"> | ||
<img src="test-molecule.gif" alt="image missing" /> | ||
<figcaption>Molecule's test scenario options and how to run a scenario</figcaption> | ||
</figure> | ||
<br> | ||
<figure align="center"> | ||
<img src="test-pytest-ansible.png" alt="image missing" /> | ||
<figcaption>Using Pytest Ansible with VSCode's Test Explorer</figcaption> | ||
</figure> | ||
<br> | ||
<figure align="center"> | ||
<img src="test-tox-ansible.gif" alt="image missing" /> | ||
<figcaption>Displaying Tox Ansible options and running a test suite</figcaption> | ||
</figure> | ||
<br> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { config, expect } from "chai"; | ||
import { By, EditorView, Workbench } from "vscode-extension-tester"; | ||
import { sleep } from "./uiTestHelper"; | ||
|
||
config.truncateThreshold = 0; | ||
export function walkthroughUiTest(): void { | ||
describe("Check for the walkthrough - Discover Ansible Development Tools", async () => { | ||
let workbench: Workbench; | ||
let editorView: EditorView; | ||
|
||
before(async () => { | ||
workbench = new Workbench(); | ||
editorView = new EditorView(); | ||
}); | ||
|
||
it("Open the walkthrough and check the elements", async function () { | ||
const commandInput = await workbench.openCommandPrompt(); | ||
await workbench.executeCommand("Welcome: Open Walkthrough"); | ||
await commandInput.setText("Discover Ansible Development Tools"); | ||
await commandInput.confirm(); | ||
|
||
await sleep(1000); | ||
|
||
// Select the editor window | ||
const welcomeTab = await editorView.getTabByTitle("Welcome"); | ||
expect(welcomeTab).is.not.undefined; | ||
|
||
// Locate walkthrough title text | ||
const titleText = await welcomeTab | ||
.findElement( | ||
By.xpath("//div[contains(@class, 'getting-started-category') ]"), | ||
) | ||
.getText(); | ||
expect(titleText.includes("Discover Ansible Development Tools")).to.be | ||
.true; | ||
|
||
// Locate one of the steps | ||
const stepText = await welcomeTab | ||
.findElement( | ||
By.xpath("//div[contains(@class, 'step-list-container') ]"), | ||
) | ||
.getText(); | ||
expect(stepText.includes("Create")).to.be.true; | ||
}); | ||
}); | ||
} |