-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(test): New UI implementation for ie test
& refactor various parts of the engine
#198
Merged
Conversation
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
…ock state to be more generic.
…rs in preparation to unify all ui implementations.
…updates from ie test.
…ing commands after being initialized.
Fixes #66 |
mbifeld
reviewed
Jun 12, 2024
vmarcella
had a problem deploying
to
ScenarioTesting
June 12, 2024 20:27 — with
GitHub Actions
Failure
… vmarcella/update-test-ui
…t in github actions, update logic for deleting resource groups after execution, and add more tests to test-mode.
vmarcella
had a problem deploying
to
ScenarioTesting
June 17, 2024 23:16 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 17, 2024 23:17 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 17, 2024 23:24 — with
GitHub Actions
Failure
vmarcella
temporarily deployed
to
ScenarioTesting
June 17, 2024 23:26 — with
GitHub Actions
Inactive
vmarcella
temporarily deployed
to
ScenarioTesting
June 17, 2024 23:28 — with
GitHub Actions
Inactive
…atch the resource group name, update ExecuteBashCommand to be a variable exported from shells/bash.go for easier mocking, and update model tests.
vmarcella
temporarily deployed
to
ScenarioTesting
June 18, 2024 22:35 — with
GitHub Actions
Inactive
mbifeld
approved these changes
Jun 19, 2024
… the FailedCommandMessage to be part of the error output and update CompareCommandOutputs to return better error messages to describe what happened.
vmarcella
temporarily deployed
to
ScenarioTesting
June 19, 2024 17:56 — with
GitHub Actions
Inactive
…nd finishes executing.
vmarcella
had a problem deploying
to
ScenarioTesting
June 19, 2024 22:05 — with
GitHub Actions
Failure
…n when not rendering in CI.
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 22:32 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 22:36 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 22:58 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 23:01 — with
GitHub Actions
Failure
vmarcella
temporarily deployed
to
ScenarioTesting
June 21, 2024 23:12 — with
GitHub Actions
Inactive
vmarcella
temporarily deployed
to
ScenarioTesting
June 21, 2024 23:14 — with
GitHub Actions
Inactive
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 23:32 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 23:35 — with
GitHub Actions
Failure
…e can't assume that all cis will not have ttys.
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 23:37 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 21, 2024 23:39 — with
GitHub Actions
Failure
vmarcella
had a problem deploying
to
ScenarioTesting
June 24, 2024 16:42 — with
GitHub Actions
Failure
vmarcella
temporarily deployed
to
ScenarioTesting
June 25, 2024 20:37 — with
GitHub Actions
Inactive
vmarcella
changed the title
Update
feat(test): New UI implementation for Jun 25, 2024
ie test
UI implementation & refactor various parts of the engineie test
& refactor various parts of the engine
mbifeld
approved these changes
Jun 28, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm curious if you could share what the crash behavior is when ie test is ran in GitHub actions without the needed flag. How should the user know they are missing the flag?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR:
ie test
to use bubbletea for rendering it's output, similar toie interactive
and soonie execute
.ie interactive
andie test
implementations to exist in their own folders inside ofengine
(Which will be renamed toie
in the future).internal/engine/common
.Engine
as a parameter in preparation for when it will be deprecated in the future.shells.ExecuteCodeBlock
to be a variable alias ofshells.executeCodeBlockImpl
. This allows for us to easily mock the theExecuteCodeBlock
implementation easily in tests. This allows us to do things like track calls to commands, record what commands were failed, mimic failures from executing commands, etc without having to actually execute commands. This is particularly useful in cases where we want to test the behavior of executing an Azure CLI command without actually executing the command itself.github-action
, specifically for runningie test
inside of github actions runners. If this flag is not supplied,ie test
will crash due to bubbletea attempting to open tty when there are no ttys available. (See Not a tty actions/runner#241 for more information on GH actions not providing a TTY).