* chore(ui): add data-test attributes * chore(ui): add data-test attributes * test(cypress): add all org test * test(cypress): add All Orgs test * chore(cypress): remove only * chore(ui): add data-test attributes * chore(ui): add data-test attributes * test(cypress): add all org test * test(cypress): add All Orgs test * chore(cypress): remove only * chore(ui): add data-test attributes * chore(ui): add data-test attributes * test(cypress): add all org test * test(cypress): add All Orgs test * chore(cypress): remove only * chore(ui): add data-test attribute * chore(cypress): adjust all orgs test * chore(cypress): adjust dashboard test * chore(ui): eslint --fix * chore(cypress): adjust all orgs test * chore(cypress): format test * chore(cypress): add fixture data * chore(ui): add data-test attributes * chore(cypress): adjust chronograf fixture * chore(cypress): add deleteMappings custom command * chore(ui): add data-test attributes * test(cypress): add deleteMappings into toInitialState * chore(ui): adjust testId value * test(cypress): add Orgs Mapping test * chore(ui): adjust data-test attribute * chore(ui): add logic to data-test attribute * chore(ui): add a default value to testId |
||
---|---|---|
.. | ||
assets/images | ||
cypress | ||
mocks | ||
src | ||
test | ||
.babelrc | ||
.browserslistrc | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.prettierrc.json | ||
README.md | ||
cypress.json | ||
dist.go | ||
githubActions-config.json | ||
jest.config.js | ||
package.json | ||
parcel.js | ||
tsconfig.json | ||
tslint.json |
README.md
Packages
We are using yarn 0.19.1.
Run yarn run
to see a list of available tasks.
Adding new packages
To add a new package, run
yarn add packageName
Adding devDependency
yarn add --dev packageName
Updating a package
First, run
yarn outdated
... to determine which packages may need upgrading.
We really should not upgrade all packages at once, but, one at a time and make darn sure to test.
To upgrade a single package named packageName
:
yarn upgrade packageName
Testing
Tests can be run via command line with yarn test
, from within the /ui
directory. For more detailed reporting, use yarn test -- --reporters=verbose
.