Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 930 Bytes

README.md

File metadata and controls

59 lines (39 loc) · 930 Bytes

Nala

nala

Automated E2E and integration testing of Milo-based projects.

Get started

Install Nala

npm install

Install Playwright's Browser Binaries

npx playwright install

Basic use

Test everything

npm test

Test a Milo branch

You may want to test a Milo branch. This could be for either milo, consumers or both. This is done by setting an environment variable before you run your tests.

export branch=your-branch-name

Advanced use

Test only a specific consumer

npm test -- -g @bacom

Test only milo

npm test -- -g @milo

Test only a specific feature

npm test -- -g @large-button

Test multiple features

npm test -- -g large-button|medium-button