mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update testPageLoads()
This commit is contained in:
parent
c81044994b
commit
410ea21f3d
@ -38,7 +38,7 @@ class CreditsTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.credits.index')
|
||||
->assertSee('Credits')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Credits')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class DocumentsTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.documents.index')
|
||||
->assertSee('Invoices')
|
||||
->assertSee('Documents')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class InvoicesTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.invoices.index')
|
||||
->assertSee('Invoices')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Invoices')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class PaymentMethodsTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.payment_methods.index')
|
||||
->assertSee('Payment Methods')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Payment Methods')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class PaymentsTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.payments.index')
|
||||
->assertSee('Recurring Invoices')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Payments')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class QuotesTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.quotes.index')
|
||||
->assertSee('Quotes')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Quotes')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ use Laravel\Dusk\Browser;
|
||||
use Tests\Browser\Pages\ClientPortal\Login;
|
||||
use Tests\DuskTestCase;
|
||||
|
||||
class RecurringInvoices extends DuskTestCase
|
||||
class RecurringInvoicesTest extends DuskTestCase
|
||||
{
|
||||
protected function setUp(): void
|
||||
{
|
||||
@ -39,7 +39,7 @@ class RecurringInvoices extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.recurring_invoices.index')
|
||||
->assertSee('Recurring Invoices')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Recurring Invoices')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
@ -38,7 +38,7 @@ class SubscriptionsTest extends DuskTestCase
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.subscriptions.index')
|
||||
->assertSee('Invoices')
|
||||
->assertSeeIn('span[data-ref="meta-title"]', 'Subscriptions')
|
||||
->visitRoute('client.logout');
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user