Skip to content

Commit cf69f94

Browse files
committed
Remove "Swarming" from one more place in the UI.
1 parent e58d2c2 commit cf69f94

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: locust/templates/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ <h2>Edit running load test</h2>
156156
<input type="text" name="spawn_rate" id="new_spawn_rate" class="val" value="{{ spawn_rate or "1" }}" onfocus="this.select()"/><br>
157157
{% endif %}
158158
{% if hide_common_options %}
159-
<button type="submit" disabled>Start swarming</button>
159+
<button type="submit" disabled>Start</button>
160160
{% else %}
161-
<button type="submit">Start swarming</button>
161+
<button type="submit">Start</button>
162162
{% endif %}
163163
</form>
164164
<div style="clear:right;"></div>

Diff for: locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('SwarmForm', () => {
2929
const { getByText } = renderWithProvider(<SwarmForm />);
3030

3131
act(() => {
32-
fireEvent.click(getByText('Start Swarm'));
32+
fireEvent.click(getByText('Start'));
3333
});
3434

3535
await waitFor(async () => {
@@ -74,7 +74,7 @@ describe('SwarmForm', () => {
7474
target: { value: 'https://localhost:5000' },
7575
});
7676

77-
fireEvent.click(getByText('Start Swarm'));
77+
fireEvent.click(getByText('Start'));
7878
});
7979

8080
await waitFor(async () => {
@@ -121,7 +121,7 @@ describe('SwarmForm', () => {
121121
fireEvent.click(getAllByRole('checkbox')[2]);
122122
});
123123
act(() => {
124-
fireEvent.click(getByText('Start Swarm'));
124+
fireEvent.click(getByText('Start'));
125125
});
126126

127127
await waitFor(async () => {
@@ -168,7 +168,7 @@ describe('SwarmForm', () => {
168168
});
169169

170170
act(() => {
171-
fireEvent.click(getByText('Start Swarm'));
171+
fireEvent.click(getByText('Start'));
172172
});
173173

174174
await waitFor(() => {
@@ -225,7 +225,7 @@ describe('SwarmForm', () => {
225225
target: { value: 'Option2' },
226226
});
227227

228-
fireEvent.click(getByText('Start Swarm'));
228+
fireEvent.click(getByText('Start'));
229229
});
230230

231231
await waitFor(async () => {

0 commit comments

Comments
 (0)