Skip to content
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

Default paths for Appium projects, to simplify run steps #16763

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

BretJohnson
Copy link
Member

@BretJohnson BretJohnson commented Aug 15, 2023

Default the paths for UITest projects so that the user doesn't need to specify them manually. Once this is merged I'll update the instructions in https://github.com/dotnet/maui/wiki/UITests to remove the --project and --appproject arguments from the run steps. That makes them much simpler and avoids the issue of them being hardcoded to Rui's home directory.

Also, improve error messages for windows/catalyst/ios similar to android, giving a user friendly error if the exe/app to be tested
isn't found (likely because it's not built), instead of an NRE.

@BretJohnson BretJohnson requested a review from a team as a code owner August 15, 2023 15:59
@samhouts samhouts added the area-testing Unit tests, device tests label Aug 15, 2023
@rmarinho
Copy link
Member

Seems iOS tests are failing , but can't understand why .

eng/devices/ios.cake Outdated Show resolved Hide resolved
@rmarinho rmarinho self-assigned this Aug 21, 2023
@BretJohnson
Copy link
Member Author

/azp rebase

@azure-pipelines
Copy link

Command 'rebase' is not supported by Azure Pipelines.

Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@BretJohnson
Copy link
Member Author

/rebase

Default the paths for UITest projects so that the user doesn't need
to specify them manually. Once this is merged I'll update the
instructions in https://github.com/dotnet/maui/wiki/UITests to
remove the --project and --appproject arguments from the
run steps. That makes them much simpler and avoids the issue
of them being hardcoded to Rui's home directory.
Also, improve error messages for windows/catalyst/ios similar
to android, giving a user friendly  error if the exe/app to be tested
isn't found (likely because it's not built), instead of an NRE.
@github-actions github-actions bot force-pushed the simplify-appium-launch-steps branch from 45bf7f0 to 47acfb1 Compare August 23, 2023 16:12
@rmarinho rmarinho merged commit 2ec2e0b into main Aug 25, 2023
36 of 42 checks passed
@rmarinho rmarinho deleted the simplify-appium-launch-steps branch August 25, 2023 14:43
@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing Unit tests, device tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants