Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into issue/OSOE-638
Browse files Browse the repository at this point in the history
  • Loading branch information
wAsnk committed Oct 11, 2023
2 parents 7d4bada + 58b76d1 commit 83bc7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI.Samples/Helpers/SetupHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static async Task RunSetupAndSignInDirectlyAsync(UITestContext context, s
await context.SignInDirectlyAsync(userName);
}

// When using the Auto Setup feature (https://docs.orchardcore.net/en/dev/docs/reference/modules/AutoSetup/) you
// When using the Auto Setup feature (https://docs.orchardcore.net/en/latest/docs/reference/modules/AutoSetup/) you
// don't need to run the setup like RunSetup() above. Instead, substitute the setup operation with one that just
// opens the app and checks if the setup was successful, like you can see here.

Expand Down
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI/Docs/TestableOrchardCoreApps.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Tips on making specific features testable are under the ["Creating tests" page](
- Create recipes with test content, and import them by starting with a UI testing-specific setup recipe.
- While you can run tests from an existing database, using recipes to create a test environment (that almost entirely doubles as a development environment) is more reliable. Keep in mind, that the data you test shouldn't change randomly, you can't assert on data coming from the export of a production app which is updated all the time.
- Such recipes needn't be added to the web app like normal recipes; you can just add setup recipes to the test project's _Recipes_ folder with Build Action = `Content` and Copy to Output Directory = `Copy if newer`. They'll be picked up by the app under test.
- Using [Auto Setup](https://docs.orchardcore.net/en/dev/docs/reference/modules/AutoSetup/) works too, just check out the [samples project](../../Lombiq.Tests.UI.Samples/Readme.md).
- Using [Auto Setup](https://docs.orchardcore.net/en/latest/docs/reference/modules/AutoSetup/) works too, just check out the [samples project](../../Lombiq.Tests.UI.Samples/Readme.md).
- In your web project do the following, allowing configuration of the app when launched for testing with the following piece of code in the app's `Program` class:

```csharp
Expand Down

0 comments on commit 83bc7a3

Please sign in to comment.