complete story 14.3
This commit is contained in:
@@ -155,3 +155,97 @@ test('home page lawyer photo has alt text for accessibility', function () {
|
||||
->assertOk()
|
||||
->assertSee('alt="Huda Armouche"', false);
|
||||
});
|
||||
|
||||
// Services Section Tests
|
||||
|
||||
test('home page displays services section title in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Our Services');
|
||||
});
|
||||
|
||||
test('home page displays services section title in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('خدماتنا');
|
||||
});
|
||||
|
||||
test('home page displays services section subtitle in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Comprehensive legal solutions for individuals and businesses');
|
||||
});
|
||||
|
||||
test('home page displays services section subtitle in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('حلول قانونية شاملة للأفراد والشركات');
|
||||
});
|
||||
|
||||
test('home page displays legal consultations service in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Legal Consultations')
|
||||
->assertSee('Expert legal advice tailored to your specific situation and needs.');
|
||||
});
|
||||
|
||||
test('home page displays legal consultations service in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('الاستشارات القانونية')
|
||||
->assertSee('استشارات قانونية متخصصة مصممة وفقاً لوضعك واحتياجاتك.');
|
||||
});
|
||||
|
||||
test('home page displays court representation service in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Court Representation')
|
||||
->assertSee('Professional representation before courts and judicial bodies at all stages.');
|
||||
});
|
||||
|
||||
test('home page displays court representation service in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('التمثيل أمام المحاكم')
|
||||
->assertSee('تمثيل احترافي أمام المحاكم والهيئات القضائية في جميع المراحل.');
|
||||
});
|
||||
|
||||
test('home page displays litigation management service in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Litigation Management')
|
||||
->assertSee('Complete case management from pleadings and memoranda to appeals.');
|
||||
});
|
||||
|
||||
test('home page displays litigation management service in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('إدارة الدعاوى')
|
||||
->assertSee('إدارة كاملة للقضايا من اللوائح والمذكرات إلى الاستئنافات.');
|
||||
});
|
||||
|
||||
test('home page displays contract services in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Contract Services')
|
||||
->assertSee('Drafting, review, and legal compliance for all your contractual needs.');
|
||||
});
|
||||
|
||||
test('home page displays contract services in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('خدمات العقود')
|
||||
->assertSee('صياغة ومراجعة العقود والامتثال القانوني لجميع احتياجاتكم التعاقدية.');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user