Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(ui): rename GitLab setup submit button to Save

Andras Bacsai2450a32d6c6c
diff --git a/resources/views/livewire/source/gitlab/change.blade.php b/resources/views/livewire/source/gitlab/change.blade.php
index 7248a33e96..caedc88dea 100644
--- a/resources/views/livewire/source/gitlab/change.blade.php
+++ b/resources/views/livewire/source/gitlab/change.blade.php
@@ -166,7 +166,7 @@
<form wire:submit='submit' class="flex flex-col gap-2">
<div class="flex flex-col sm:flex-row sm:items-center gap-2 pt-2">
<h3>Step 2: Enter the credentials</h3>
- <x-forms.button type="submit">Save Credentials</x-forms.button>
+ <x-forms.button type="submit">Save</x-forms.button>
</div>
<x-forms.input id="name" label="Name" />
<x-forms.input id="clientId" label="Application ID" required
diff --git a/tests/Feature/GitlabSourceChangeViewTest.php b/tests/Feature/GitlabSourceChangeViewTest.php
index b99875e6b0..60f8f0d964 100644
--- a/tests/Feature/GitlabSourceChangeViewTest.php
+++ b/tests/Feature/GitlabSourceChangeViewTest.php
@@ -46,7 +46,7 @@ describe('GitLab source setup view', function () {
->assertSee('Advanced / Self-hosted')
->assertSee('Application ID')
->assertSee('Application Secret')
- ->assertSee('Save Credentials')
+ ->assertSee('Save')
->assertDontSee('alert-warning');
});