diff --git a/e2e/form-helper.spec.ts b/e2e/form-helper.spec.ts index 10bb677ce8b..5e1e139aed3 100644 --- a/e2e/form-helper.spec.ts +++ b/e2e/form-helper.spec.ts @@ -92,5 +92,11 @@ test.describe('Test form with solution link and github link', () => { // The form submit button should be enabled as the form is now filled await solutionLinkInput.fill('test-input'); await expect(solutionFormButton).toBeEnabled(); + + // The form submit button should be enabled as the GitHub link is now filled + await solutionLinkInput.fill(''); + await expect(solutionFormButton).toBeDisabled(); + await githubLinkInput.fill('test-input'); + await expect(solutionFormButton).toBeEnabled(); }); });