Validating Personalization Settings Workflow in DocuSeal
This test suite validates the personalization settings functionality in DocuSeal, focusing on email templates and company branding features. The tests ensure proper display and accessibility of key personalization options through system-level testing.
Test Coverage Overview
Implementation Analysis
Technical Details
Best Practices Demonstrated
docusealco/docuseal
spec/system/personalization_spec.rb
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'Personalization' do
let!(:account) { create(:account) }
let!(:user) { create(:user, account:) }
before do
sign_in(user)
visit settings_personalization_path
end
it 'shows the personalization page' do
expect(page).to have_content('Email Templates')
expect(page).to have_content('Signature Request Email')
expect(page).to have_content('Completed Notification Email')
expect(page).to have_content('Documents Copy Email')
expect(page).to have_content('Company Logo')
end
end