Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

449 Commits
449 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cashier-blazor

Cashier implemented in Blazor

The live application is available at https://cashier-ii.alensiljak.eu.org

Development

Clone the repository.

Prepare the JS client libraries. In npm directory, run

npm i
copy_libs.cmd

Then go to src/Cashier and execute

dotnet watch

to utilize the hot reload for Blazor WebAssembly.

Other potential options are:

dotnet run

or

dotnet watch run

Debugging

To debug the Blazor application, select Edge as the browser in Visual Studio. Run/Debug the Cashier profile from Visual Studio.

Testing

Unit Testing

TODO: bUnit + Playwright

E2E Testing

E2E tests are conducted using Playwright.

Go to the tests directory in the root of the repository and run the tests there.

.Net integrated (deprecated)

Go to src/Cashier.Tests.E2E and run

set HEADED=1
set BROWSER=firefox

dotnet test

or

dotnet test --settings test.runsettings

Create tests with Codegen:

pwsh bin/Debug/netX/playwright.ps1 codegen localhost:5000

Publish

Run the publish.cmd script. It will run the command below.

Build the optimized, Release, version of Cashier Blazor Webassembly app:

dotnet publish -c Release

Run Netlify CLI to deploy.

About

Cashier implemented in Blazor

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.