complete story 14.4
This commit is contained in:
@@ -249,3 +249,123 @@ test('home page displays contract services in Arabic', function () {
|
||||
->assertSee('خدمات العقود')
|
||||
->assertSee('صياغة ومراجعة العقود والامتثال القانوني لجميع احتياجاتكم التعاقدية.');
|
||||
});
|
||||
|
||||
// Values Section Tests
|
||||
|
||||
test('home page contains values section with id', function () {
|
||||
$this->get('/')
|
||||
->assertOk()
|
||||
->assertSee('id="values"', false);
|
||||
});
|
||||
|
||||
test('home page displays values section title in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Our Values');
|
||||
});
|
||||
|
||||
test('home page displays values section title in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('قيمنا');
|
||||
});
|
||||
|
||||
test('home page displays values section subtitle in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('These start in the field and return to the people');
|
||||
});
|
||||
|
||||
test('home page displays values section subtitle in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('تبدأ من الميدان وتعود إلى الناس');
|
||||
});
|
||||
|
||||
test('home page displays integrity value in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Integrity');
|
||||
});
|
||||
|
||||
test('home page displays integrity value in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('النزاهة');
|
||||
});
|
||||
|
||||
test('home page displays justice value in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Justice');
|
||||
});
|
||||
|
||||
test('home page displays justice value in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('العدالة');
|
||||
});
|
||||
|
||||
test('home page displays knowledge value in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Knowledge');
|
||||
});
|
||||
|
||||
test('home page displays knowledge value in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('المعرفة');
|
||||
});
|
||||
|
||||
test('home page displays womens empowerment value in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Women's Empowerment', false);
|
||||
});
|
||||
|
||||
test('home page displays womens empowerment value in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('تمكين المرأة');
|
||||
});
|
||||
|
||||
test('home page displays professionalism value in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Professionalism');
|
||||
});
|
||||
|
||||
test('home page displays professionalism value in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('الاحترافية');
|
||||
});
|
||||
|
||||
test('home page displays social innovation value in English', function () {
|
||||
$this->withSession(['locale' => 'en'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('Social Innovation');
|
||||
});
|
||||
|
||||
test('home page displays social innovation value in Arabic', function () {
|
||||
$this->withSession(['locale' => 'ar'])
|
||||
->get('/')
|
||||
->assertOk()
|
||||
->assertSee('الابتكار الاجتماعي');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user