Add data-testid attributes for brush inputs
This commit is contained in:
@@ -454,6 +454,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<label className="form-field">
|
<label className="form-field">
|
||||||
<span className="label">X</span>
|
<span className="label">X</span>
|
||||||
<input
|
<input
|
||||||
|
data-testid="brush-center-x"
|
||||||
className="text-input"
|
className="text-input"
|
||||||
type="number"
|
type="number"
|
||||||
step={DEFAULT_GRID_SIZE}
|
step={DEFAULT_GRID_SIZE}
|
||||||
@@ -468,6 +469,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<label className="form-field">
|
<label className="form-field">
|
||||||
<span className="label">Y</span>
|
<span className="label">Y</span>
|
||||||
<input
|
<input
|
||||||
|
data-testid="brush-center-y"
|
||||||
className="text-input"
|
className="text-input"
|
||||||
type="number"
|
type="number"
|
||||||
step={DEFAULT_GRID_SIZE}
|
step={DEFAULT_GRID_SIZE}
|
||||||
@@ -482,6 +484,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<label className="form-field">
|
<label className="form-field">
|
||||||
<span className="label">Z</span>
|
<span className="label">Z</span>
|
||||||
<input
|
<input
|
||||||
|
data-testid="brush-center-z"
|
||||||
className="text-input"
|
className="text-input"
|
||||||
type="number"
|
type="number"
|
||||||
step={DEFAULT_GRID_SIZE}
|
step={DEFAULT_GRID_SIZE}
|
||||||
@@ -505,6 +508,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<label className="form-field">
|
<label className="form-field">
|
||||||
<span className="label">X</span>
|
<span className="label">X</span>
|
||||||
<input
|
<input
|
||||||
|
data-testid="brush-size-x"
|
||||||
className="text-input"
|
className="text-input"
|
||||||
type="number"
|
type="number"
|
||||||
min={DEFAULT_GRID_SIZE}
|
min={DEFAULT_GRID_SIZE}
|
||||||
@@ -520,6 +524,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<label className="form-field">
|
<label className="form-field">
|
||||||
<span className="label">Y</span>
|
<span className="label">Y</span>
|
||||||
<input
|
<input
|
||||||
|
data-testid="brush-size-y"
|
||||||
className="text-input"
|
className="text-input"
|
||||||
type="number"
|
type="number"
|
||||||
min={DEFAULT_GRID_SIZE}
|
min={DEFAULT_GRID_SIZE}
|
||||||
@@ -535,6 +540,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<label className="form-field">
|
<label className="form-field">
|
||||||
<span className="label">Z</span>
|
<span className="label">Z</span>
|
||||||
<input
|
<input
|
||||||
|
data-testid="brush-size-z"
|
||||||
className="text-input"
|
className="text-input"
|
||||||
type="number"
|
type="number"
|
||||||
min={DEFAULT_GRID_SIZE}
|
min={DEFAULT_GRID_SIZE}
|
||||||
|
|||||||
Reference in New Issue
Block a user